-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathConstants.php
64 lines (57 loc) · 1.4 KB
/
Constants.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
/**
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
*/
namespace Magenerds\PageDesigner;
/**
* Class Constants
*
* @package Magenerds\PageDesigner
* @file Constants.php
* @copyright Copyright (c) 2019 TechDivision GmbH (https://www.techdivision.com)
* @site https://www.techdivision.com/
* @author Julian Schlarb <[email protected]>
*/
interface Constants
{
/**
* Defines the current version
*
* @type string
*/
const VERSION = '3.0.0'; // ONLY(!) change this if the JSON data structure changes
/**
* Defines the default grid size
*
* @type number
*/
const DEFAULT_GRID_SIZE = 12;
/**
* Attribute name for page designer json
*
* @type string
*/
const ATTR_PAGE_DESIGNER_JSON = 'page_designer_json';
/**
* Attribute name for page designer remove flag
*
* @type string
*/
const ATTR_PAGE_DESIGNER_REMOVE = 'page_designer_remove';
/**
* Attribute name for content
*
* @type string
*/
const ATTR_CONTENT = 'content';
/**
* A list of tables that must have the column page_designer_json
*
* @type array
*/
const CONTENT_TABLES = ['cms_block', 'cms_page'];
}