| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 | <?php/** * Schema for stylizer. */function stylizer_schema() {  return stylizer_schema_1();}function stylizer_schema_1() {  $schema = array();  $schema['stylizer'] = array(    'description' => 'Customized stylizer styles created by administrative users.',    'export' => array(      'bulk export' => TRUE,      'export callback' => 'stylizer_style_export',      'can disable' => TRUE,      'identifier' => 'style',      'primary key' => 'sid',      'api' => array(        'owner' => 'stylizer',        'api' => 'stylizer',        'minimum_version' => 1,        'current_version' => 1,      ),    ),    'fields' => array(      'sid' => array(        'type' => 'serial',        'not null' => TRUE,        'no export' => TRUE,      ),      'name' => array(        'type' => 'varchar',        'length' => '255',        'description' => 'Unique ID for this style. Used to identify it programmatically.',      ),      'admin_title' => array(        'type' => 'varchar',        'length' => '255',        'description' => 'Human readable title for this style.',      ),      'admin_description' => array(        'type' => 'text',        'size' => 'big',        'description' => 'Administrative description of this style.',        'object default' => '',      ),      'settings' => array(        'type' => 'text',        'size' => 'big',        'serialize' => TRUE,        'object default' => array(),        'initial ' => array(          'name' => '_temporary',          'style_base' => NULL,          'palette' => array(),        ),        'description' => 'A serialized array of settings specific to the style base that describes this plugin.',      ),    ),    'primary key' => array('sid'),    'unique keys' => array(      'name' => array('name'),    ),  );  return $schema;}
 |