4 * Schema for customizable access rulesets.
6 function ctools_access_ruleset_schema() {
7 return ctools_access_ruleset_schema_1();
10 function ctools_access_ruleset_schema_1() {
13 $schema['ctools_access_ruleset'] = array(
14 'description' => 'Contains exportable customized access rulesets.',
16 'identifier' => 'ruleset',
17 'bulk export' => TRUE,
18 'primary key' => 'rsid',
20 'owner' => 'ctools_access_ruleset',
21 'api' => 'ctools_rulesets',
22 'minimum_version' => 1,
23 'current_version' => 1,
29 'description' => 'A database primary key to ensure uniqueness',
36 'description' => 'Unique ID for this ruleset. Used to identify it programmatically.',
38 'admin_title' => array(
41 'description' => 'Administrative title for this ruleset.',
43 'admin_description' => array(
46 'description' => 'Administrative description for this ruleset.',
47 'object default' => '',
49 'requiredcontexts' => array(
52 'description' => 'Any required contexts for this ruleset.',
54 'object default' => array(),
59 'description' => 'Any embedded contexts for this ruleset.',
61 'object default' => array(),
63 'relationships' => array(
66 'description' => 'Any relationships for this ruleset.',
68 'object default' => array(),
73 'description' => 'The actual group of access plugins for this ruleset.',
75 'object default' => array(),
78 'primary key' => array('rsid'),