You are here

function _sweaver_default_sweaver_property in Sweaver 7

Same name and namespace in other branches
  1. 6 sweaver.registry.inc \_sweaver_default_sweaver_property()

Default properties.

1 call to _sweaver_default_sweaver_property()
sweaver_default_sweaver_property in ./sweaver.module
Implements hook_default_sweaver_property().

File

./sweaver.registry.inc, line 426
Registry for Sweaver.

Code

function _sweaver_default_sweaver_property() {
  $propertys = array();

  // Font family.
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'font-family';
  $property->description = t('Font family');
  $property->property = 'font-family';
  $property->container = 'one';
  $property->property_parent = '';
  $property->property_type = 'select';
  $property->property_prefix = '';
  $property->property_suffix = '';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->css_prefix = '<fieldset>';
  $property->css_suffix = '</fieldset>';
  $property->property_options = array(
    '' => 'Theme default',
    'Arial, Helvetica,Sans-Serif' => 'Arial',
    '\'Arial Black\',Sans-Serif' => 'Arial Black',
    '\'Comic Sans MS\',Cursive' => 'Comic Sans MS',
    '\'Courier New\',Courier,Monospace' => 'Courier',
    'Georgia,Serif' => 'Georgia',
    'Helvetica,Arial,Sans-Serif' => 'Helvetica',
    'Impact,Charcoal,Sans-Serif' => 'Impact',
    '\'Lucida Sans\',\'Lucida Grande\',Sans-Serif' => 'Lucida',
    '\'Palatino Linotype\',Palatino,Serif' => 'Palatino',
    'Tahoma,Geneva,Sans-Serif' => 'Tahoma',
    '\'Times New Roman\',Times,Serif' => 'Times New Roman',
    '\'Trebuchet\',Helvetica,Sans-Serif' => 'Trebuchet',
    'Verdana,Geneva,Sans-Serif' => 'Verdana',
  );
  $propertys['font-family'] = $property;

  // Font size group
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'font-properties-wrapper';
  $property->description = t('Font properties');
  $property->property = '';
  $property->container = 'one';
  $property->property_parent = '';
  $property->property_type = 'parent';
  $property->property_prefix = '';
  $property->property_suffix = '';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->property_options = array(
    '#attributes' => array(
      'id' => 'sweaver-font',
    ),
    '#rows' => array(
      array(
        array(
          'data' => '{font-size}',
        ),
        array(
          'data' => '{line-height}',
          'class' => 'close-container',
        ),
        array(
          'data' => '{color}',
          'class' => array(
            'open-container',
            'close-container',
          ),
        ),
        array(
          'data' => '{font-style}',
          'class' => 'open-container',
        ),
        array(
          'data' => '{font-weight}',
          'class' => 'close-container',
        ),
        array(
          'data' => '{text-decoration}',
          'class' => array(
            'open-container',
            'close-container',
          ),
        ),
        array(
          'data' => '{text-align}',
          'class' => 'open-container',
        ),
      ),
    ),
  );
  $propertys['font-properties-wrapper'] = $property;

  // Font size
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'font-size';
  $property->description = t('Size');
  $property->property = 'font-size';
  $property->property_parent = 'font-properties-wrapper';
  $property->property_type = 'slider';
  $property->property_prefix = '';
  $property->property_suffix = 'px';
  $property->property_slider_min = 1;
  $property->property_slider_max = 75;
  $property->css_prefix = '<div id="logo-font-size" class="editor_logos"></div>';
  $property->css_suffix = '';
  $property->property_options = array();
  $propertys['font-size'] = $property;

  // Line height
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'line-height';
  $property->description = t('Line height');
  $property->property = 'line-height';
  $property->property_parent = 'font-properties-wrapper';
  $property->property_type = 'slider';
  $property->property_prefix = '';
  $property->property_suffix = 'px';
  $property->property_slider_min = 1;
  $property->property_slider_max = 100;
  $property->css_prefix = '<div id="logo-line-height" class="editor_logos"></div>';
  $property->css_suffix = '';
  $property->property_options = array();
  $propertys['line-height'] = $property;

  // Color.
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'color';
  $property->description = t('Font color');
  $property->property = 'color';
  $property->property_parent = 'font-properties-wrapper';
  $property->property_type = 'color';
  $property->property_prefix = '#';
  $property->property_suffix = '';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->property_options = array();
  $propertys['color'] = $property;

  // Font style.
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'font-style';
  $property->description = t('Font style');
  $property->property = 'font-style';
  $property->property_parent = 'font-properties-wrapper';
  $property->property_type = 'checkbox';
  $property->property_prefix = '';
  $property->property_suffix = '';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->property_options = array(
    'normal' => FALSE,
    // Not checked
    'italic' => TRUE,
  );
  $propertys['font-style'] = $property;

  // Font weight.
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'font-weight';
  $property->description = t('Font weight');
  $property->property = 'font-weight';
  $property->property_parent = 'font-properties-wrapper';
  $property->property_type = 'checkbox';
  $property->property_prefix = '';
  $property->property_suffix = '';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->property_options = array(
    'normal' => FALSE,
    'bold' => TRUE,
    '700' => TRUE,
    '800' => TRUE,
    '900' => TRUE,
  );
  $propertys['font-weight'] = $property;

  // Text-decoration.
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'text-decoration';
  $property->description = t('Text decoration');
  $property->property = 'text-decoration';
  $property->property_parent = 'font-properties-wrapper';
  $property->property_type = 'radio';
  $property->property_prefix = '';
  $property->property_suffix = '';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->property_options = array(
    'none' => t('None'),
    'underline' => t('Underline'),
    'line-through' => t('Line through'),
  );
  $propertys['text-decoration'] = $property;

  // Text alignment.
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'text-align';
  $property->description = t('Text alignment');
  $property->property = 'text-align';
  $property->property_parent = 'font-properties-wrapper';
  $property->property_type = 'radio';
  $property->property_prefix = '';
  $property->property_suffix = '';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->property_options = array(
    'left' => t('Left'),
    'center' => t('Center'),
    'right' => t('Right'),
    'justify' => t('Justified'),
  );
  $propertys['text-align'] = $property;

  // Background.
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'background-color';
  $property->description = t('Color');
  $property->property = 'background-color';
  $property->container = 'two';
  $property->property_parent = '';
  $property->property_type = 'color';
  $property->property_prefix = '#';
  $property->property_suffix = '';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->property_options = array();
  $propertys['background-color'] = $property;
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'background-image';
  $property->description = t('Image');
  $property->property = 'background-image';
  $property->container = 'two';
  $property->property_parent = '';
  $property->property_type = 'image';
  $property->property_prefix = 'url(';
  $property->property_suffix = ')';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->property_options = array();
  $propertys['background-image'] = $property;
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'background-repeat';
  $property->description = t('Repeat');
  $property->property = 'background-repeat';
  $property->container = 'two';
  $property->property_parent = '';
  $property->property_type = 'radio';
  $property->property_prefix = '';
  $property->property_suffix = '';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->property_options = array(
    'no-repeat' => 'None',
    'repeat-x' => 'Horizontally',
    'repeat-y' => 'Vertically',
    'repeat' => 'Both',
  );
  $propertys['background-repeat'] = $property;

  // Background-attachment
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'background-attachment';
  $property->description = t('Attachment', array(), array(
    'context' => 'sweaver',
  ));
  $property->property = 'background-attachment';
  $property->container = 'two';
  $property->property_parent = '';
  $property->property_type = 'radio';
  $property->property_prefix = '';
  $property->property_suffix = '';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->property_options = array(
    'scroll' => 'Scroll',
    'fixed' => 'Fixed',
  );
  $propertys['background-attachment'] = $property;

  // Background position.
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'background-position';
  $property->description = t('Position');
  $property->property = 'background-position';
  $property->container = 'two';
  $property->property_parent = '';
  $property->property_type = 'select';
  $property->property_prefix = '';
  $property->property_suffix = '';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->property_options = array(
    '0% 0%' => 'left top',
    '100% 0%' => 'right top',
    '0% 100%' => 'left bottom',
    '100% 100%' => 'right bottom',
    '50% 50%' => 'center center',
    '50% 100%' => 'center bottom',
    '50% 0%' => 'center top',
  );
  $propertys['background-position'] = $property;

  // Position Settings.
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'position-settings';
  $property->description = t('Position settings');
  $property->property = '';
  $property->container = 'three';
  $property->property_parent = '';
  $property->property_type = 'parent';
  $property->property_prefix = '';
  $property->property_suffix = '';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->property_options = array(
    '#attributes' => array(
      'id' => 'sweaver-style-margin',
    ),
    '#rows' => array(
      // Margin & Border & Padding
      array(
        array(
          'data' => '<span>' . t('Margin') . '</span>',
          'class' => array(
            'corner',
            'label',
          ),
        ),
        array(
          'data' => '{margin-top}',
          'class' => 'side',
        ),
        array(
          'class' => 'corner',
        ),
      ),
      array(
        array(
          'data' => '{margin-left}',
          'class' => 'side',
        ),
        array(
          // Border & Padding
          'data' => array(
            '#theme' => 'table',
            '#rows' => array(
              array(
                array(
                  'data' => '<span>' . t('Border') . '</span>',
                  'class' => array(
                    'corner',
                    'label',
                  ),
                ),
                array(
                  'data' => '{border-top-width}',
                  'class' => 'side',
                ),
                array(
                  'class' => 'corner',
                ),
              ),
              array(
                array(
                  'data' => '{border-left-width}',
                  'class' => 'side',
                ),
                array(
                  // Padding
                  'data' => array(
                    '#theme' => 'table',
                    '#rows' => array(
                      array(
                        array(
                          'data' => '<span>' . t('Padding') . '</span>',
                          'class' => array(
                            'corner',
                            'label',
                          ),
                        ),
                        array(
                          'data' => '{padding-top}',
                          'class' => 'side',
                        ),
                        array(
                          'class' => 'corner',
                        ),
                      ),
                      array(
                        array(
                          'data' => '{padding-left}',
                          'class' => 'side',
                        ),
                        array(
                          'data' => t('Content'),
                          'class' => 'table-center',
                        ),
                        array(
                          'data' => '{padding-right}',
                          'class' => 'side',
                        ),
                      ),
                      array(
                        array(
                          'class' => 'corner',
                        ),
                        array(
                          'data' => '{padding-bottom}',
                          'class' => 'side',
                        ),
                        array(
                          'class' => 'corner',
                        ),
                      ),
                    ),
                    '#attributes' => array(
                      'id' => 'sweaver-style-padding',
                    ),
                  ),
                ),
                array(
                  'data' => '{border-right-width}',
                  'class' => 'side',
                ),
              ),
              array(
                array(
                  'class' => 'corner',
                ),
                array(
                  'data' => '{border-bottom-width}',
                  'class' => 'side',
                ),
                array(
                  'class' => 'corner',
                ),
              ),
            ),
            '#attributes' => array(
              'id' => 'sweaver-style-border',
            ),
          ),
        ),
        array(
          'data' => '{margin-right}',
          'class' => 'side',
        ),
      ),
      array(
        array(
          'class' => 'corner',
        ),
        array(
          'data' => '{margin-bottom}',
          'class' => 'side',
        ),
        array(
          'class' => 'corner',
        ),
      ),
    ),
  );
  $propertys['position-settings'] = $property;

  // Padding.
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'padding-top';
  $property->description = t('Top');
  $property->property = 'padding-top';
  $property->property_parent = 'position-settings';
  $property->property_type = 'slider';
  $property->property_prefix = '';
  $property->property_suffix = 'px';
  $property->property_slider_min = 0;
  $property->property_slider_max = 150;
  $property->property_options = array(
    'title_display' => 'invisible',
  );
  $propertys['padding-top'] = $property;
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'padding-right';
  $property->description = t('Right');
  $property->property = 'padding-right';
  $property->property_parent = 'position-settings';
  $property->property_type = 'slider';
  $property->property_prefix = '';
  $property->property_suffix = 'px';
  $property->property_slider_min = 0;
  $property->property_slider_max = 150;
  $property->property_options = array(
    'title_display' => 'invisible',
  );
  $propertys['padding-right'] = $property;
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'padding-bottom';
  $property->description = t('Bottom');
  $property->property = 'padding-bottom';
  $property->property_parent = 'position-settings';
  $property->property_type = 'slider';
  $property->property_prefix = '';
  $property->property_suffix = 'px';
  $property->property_slider_min = 0;
  $property->property_slider_max = 150;
  $property->property_options = array(
    'title_display' => 'invisible',
  );
  $propertys['padding-bottom'] = $property;
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'padding-left';
  $property->description = t('Left');
  $property->property = 'padding-left';
  $property->property_parent = 'position-settings';
  $property->property_type = 'slider';
  $property->property_prefix = '';
  $property->property_suffix = 'px';
  $property->property_slider_min = 0;
  $property->property_slider_max = 150;
  $property->property_options = array(
    'title_display' => 'invisible',
  );
  $propertys['padding-left'] = $property;
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'margin-top';
  $property->description = t('Top');
  $property->property = 'margin-top';
  $property->property_parent = 'position-settings';
  $property->property_type = 'slider';
  $property->property_prefix = '';
  $property->property_suffix = 'px';
  $property->property_slider_min = 0;
  $property->property_slider_max = 250;
  $property->property_options = array(
    'title_display' => 'invisible',
  );
  $propertys['margin-top'] = $property;
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'margin-right';
  $property->description = t('Right');
  $property->property = 'margin-right';
  $property->property_parent = 'position-settings';
  $property->property_type = 'slider';
  $property->property_prefix = '';
  $property->property_suffix = 'px';
  $property->property_slider_min = 0;
  $property->property_slider_max = 250;
  $property->property_options = array(
    'title_display' => 'invisible',
  );
  $propertys['margin-right'] = $property;
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'margin-bottom';
  $property->description = t('Bottom');
  $property->property = 'margin-bottom';
  $property->property_parent = 'position-settings';
  $property->property_type = 'slider';
  $property->property_prefix = '';
  $property->property_suffix = 'px';
  $property->property_slider_min = 0;
  $property->property_slider_max = 250;
  $property->property_options = array(
    'title_display' => 'invisible',
  );
  $propertys['margin-bottom'] = $property;
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'margin-left';
  $property->description = t('Left');
  $property->property = 'margin-left';
  $property->property_parent = 'position-settings';
  $property->property_type = 'slider';
  $property->property_prefix = '';
  $property->property_suffix = 'px';
  $property->property_slider_min = 0;
  $property->property_slider_max = 250;
  $property->property_options = array(
    'title_display' => 'invisible',
  );
  $propertys['margin-left'] = $property;

  /* End position settings */

  // Border.
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'border-top-width';
  $property->description = t('Top');
  $property->property = 'border-top-width';
  $property->property_parent = 'position-settings';
  $property->property_type = 'slider';
  $property->property_prefix = '';
  $property->property_suffix = 'px';
  $property->property_slider_min = 0;
  $property->property_slider_max = 20;
  $property->property_options = array(
    'title_display' => 'invisible',
  );
  $propertys['border-top-width'] = $property;
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'border-right-width';
  $property->description = t('Right');
  $property->property = 'border-right-width';
  $property->property_parent = 'position-settings';
  $property->property_type = 'slider';
  $property->property_prefix = '';
  $property->property_suffix = 'px';
  $property->property_slider_min = 0;
  $property->property_slider_max = 20;
  $property->property_options = array(
    'title_display' => 'invisible',
  );
  $propertys['border-right-width'] = $property;
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'border-bottom-width';
  $property->description = t('Bottom');
  $property->property = 'border-bottom-width';
  $property->property_parent = 'position-settings';
  $property->property_type = 'slider';
  $property->property_prefix = '';
  $property->property_suffix = 'px';
  $property->property_slider_min = 0;
  $property->property_slider_max = 20;
  $property->property_options = array(
    'title_display' => 'invisible',
  );
  $propertys['border-bottom-width'] = $property;
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'border-left-width';
  $property->description = t('Left');
  $property->property = 'border-left-width';
  $property->property_parent = 'position-settings';
  $property->property_type = 'slider';
  $property->property_prefix = '';
  $property->property_suffix = 'px';
  $property->property_slider_min = 0;
  $property->property_slider_max = 20;
  $property->property_options = array(
    'title_display' => 'invisible',
  );
  $propertys['border-left-width'] = $property;

  // Border style
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'border-style';
  $property->description = t('Border style');
  $property->property = 'border-top-style border-right-style border-bottom-style border-left-style';
  $property->container = 'three';
  $property->property_parent = '';
  $property->property_type = 'select';
  $property->property_prefix = '';
  $property->property_suffix = '';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->property_options = array(
    'none' => t('None'),
    'dashed' => t('Dashed'),
    'dotted' => t('Dotted'),
    'solid' => t('Solid'),
    'double' => t('Double'),
    'groove' => t('Groove'),
    'inset' => t('Inset'),
    'outset' => t('Outset'),
    'ridge' => t('Ridge'),
  );
  $propertys['border-style'] = $property;

  // Border color
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'border-color';
  $property->description = t('Border color');
  $property->property = 'border-top-color border-right-color border-bottom-color border-left-color';
  $property->container = 'three';
  $property->property_parent = '';
  $property->property_type = 'color';
  $property->property_prefix = '#';
  $property->property_suffix = '';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->property_options = array();
  $propertys['border-color'] = $property;

  // Table extras.
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'border-collapse';
  $property->description = t('Border collapse');
  $property->property = 'border-collapse';
  $property->container = 'three';
  $property->property_parent = '';
  $property->property_type = 'select';
  $property->property_prefix = '';
  $property->property_suffix = '';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->property_options = array(
    'collapse' => 'Collapse',
    'separate' => 'Separate',
  );
  $propertys['border-collapse'] = $property;
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'border-spacing';
  $property->description = t('Border spacing');
  $property->property = 'border-spacing';
  $property->container = 'three';
  $property->property_parent = '';
  $property->property_type = 'slider';
  $property->property_prefix = '';
  $property->property_suffix = 'px';
  $property->property_slider_min = 0;
  $property->property_slider_max = 20;
  $property->property_options = array();
  $propertys['border-spacing'] = $property;
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'vertical-align';
  $property->description = t('Vertical align');
  $property->property = 'vertical-align';
  $property->container = 'three';
  $property->property_parent = '';
  $property->property_type = 'select';
  $property->property_prefix = '';
  $property->property_suffix = '';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->property_options = array(
    'top' => 'Top',
    'bottom' => 'Bottom',
    'middle' => 'Middle',
  );
  $propertys['vertical-align'] = $property;

  // Width.
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'width';
  $property->description = t('Width');
  $property->property = 'width';
  $property->container = 'four';
  $property->property_parent = '';
  $property->property_type = 'slider';
  $property->property_prefix = '';
  $property->property_suffix = 'px';
  $property->property_slider_min = 0;
  $property->property_slider_max = 2000;
  $property->property_options = array();
  $propertys['width'] = $property;

  // Height
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'height';
  $property->description = t('Height');
  $property->property = 'height';
  $property->container = 'four';
  $property->property_parent = '';
  $property->property_type = 'slider';
  $property->property_prefix = '';
  $property->property_suffix = 'px';
  $property->property_slider_min = 0;
  $property->property_slider_max = 2000;
  $property->property_options = array();
  $propertys['height'] = $property;

  // Apply custom code
  $property = new stdClass();
  $property->api_version = 1;
  $property->disabled = FALSE;
  $property->name = 'create-custom-code';
  $property->description = t('Add custom code for this selection');
  $property->property = '';
  $property->container = 'four';
  $property->property_parent = '';
  $property->property_type = 'button';
  $property->property_prefix = '';
  $property->property_suffix = '';
  $property->property_slider_min = '';
  $property->property_slider_max = '';
  $property->property_options = array(
    'click' => "\n      \$('#tab-sweaver_plugin_advanced a').click();\n      \$('#sweaver-advanced #tab-two a').click();\n      \$('#edit-sweaver-plugin-custom-css').val( function(i, value) {\n        value += '\\n' + Drupal.Sweaver.activePath + '{\\n  \\n}';\n        return value;\n      });\n      \$('#edit-sweaver-plugin-custom-css').focus();\n      ",
  );
  $propertys['create-custom-code'] = $property;
  return $propertys;
}