Mercurial > hg > rr-repo
view sites/all/modules/ctools/stylizer/stylizer.install @ 2:b74b41bb73f0
-- Google analytics module
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Thu, 22 Aug 2013 17:22:54 +0100 |
parents | ff03f76ab3fe |
children |
line wrap: on
line source
<?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; }