function strongarm_schema_alter in Strongarm 6.2
Same name and namespace in other branches
- 7.2 strongarm.module \strongarm_schema_alter()
Implementation of hook_schema_alter(). Makes the variables table usable by ctools' export.inc.
File
- ./
strongarm.module, line 54
Code
function strongarm_schema_alter(&$schema) {
$schema['variable']['export'] = array(
'key' => 'name',
'identifier' => 'strongarm',
'default hook' => 'strongarm',
'api' => array(
'owner' => 'strongarm',
'api' => 'strongarm',
'minimum_version' => 1,
'current_version' => 1,
),
);
$schema['variable']['fields']['value']['serialize'] = TRUE;
}