| Current Path : /home/jeromecohp/www/templates/yootheme/cache/ |
| Current File : /home/jeromecohp/www/templates/yootheme/cache/element-140c3349.php |
<?php // $file = /home/jeromecohp/v3/templates/yootheme/packages/builder/elements/fragment/element.json
return [
'@import' => $filter->apply('path', './element.php', $file),
'name' => 'fragment',
'title' => 'Sublayout',
'group' => 'basic',
'icon' => $filter->apply('url', 'images/icon.svg', $file),
'iconSmall' => $filter->apply('url', 'images/iconSmall.svg', $file),
'element' => true,
'container' => true,
'width' => 500,
'defaults' => [
'margin' => 'default'
],
'placeholder' => [],
'templates' => [
'render' => $filter->apply('path', './templates/template.php', $file),
'content' => $filter->apply('path', './templates/content.php', $file)
],
'fields' => [
'content' => [
'type' => 'builder-fragment'
],
'html_element' => $config->get('builder.html_element'),
'position' => $config->get('builder.position'),
'position_left' => $config->get('builder.position_left'),
'position_right' => $config->get('builder.position_right'),
'position_top' => $config->get('builder.position_top'),
'position_bottom' => $config->get('builder.position_bottom'),
'position_z_index' => $config->get('builder.position_z_index'),
'margin' => $config->get('builder.margin'),
'margin_remove_top' => $config->get('builder.margin_remove_top'),
'margin_remove_bottom' => $config->get('builder.margin_remove_bottom'),
'animation' => $config->get('builder.animation'),
'_parallax_button' => $config->get('builder._parallax_button'),
'visibility' => $config->get('builder.visibility'),
'name' => $config->get('builder.name'),
'status' => $config->get('builder.status'),
'source' => $config->get('builder.source'),
'id' => $config->get('builder.id'),
'class' => $config->get('builder.cls'),
'attributes' => $config->get('builder.attrs'),
'css' => [
'label' => 'CSS',
'description' => 'Enter your own custom CSS. The following selectors will be prefixed automatically for this element: <code>.el-element</code>',
'type' => 'editor',
'editor' => 'code',
'mode' => 'css',
'attrs' => [
'debounce' => 500,
'hints' => ['.el-element']
]
]
],
'fieldset' => [
'default' => [
'type' => 'tabs',
'fields' => [[
'title' => 'Content',
'fields' => ['content']
], [
'title' => 'Settings',
'fields' => [[
'label' => 'Sublayout',
'type' => 'group',
'fields' => ['html_element']
], [
'label' => 'General',
'type' => 'group',
'fields' => ['position', 'position_left', 'position_right', 'position_top', 'position_bottom', 'position_z_index', 'margin', 'margin_remove_top', 'margin_remove_bottom', 'animation', '_parallax_button', 'visibility']
]]
], $config->get('builder.advanced')]
]
]
];