function cpn_schema_alter in Code per Node 6
Same name and namespace in other branches
- 7 cpn.install \cpn_schema_alter()
Implementation of hook_schema_alter().
2 calls to cpn_schema_alter()
- cpn_install in ./
cpn.install - Implementation of hook_install().
- cpn_uninstall in ./
cpn.install - Implementation of hook_uninstall().
File
- ./
cpn.install, line 38 - Installation, schema and update hook implementations.
Code
function cpn_schema_alter(&$schema) {
$schema['blocks']['fields']['css'] = array(
'type' => 'text',
'not null' => FALSE,
);
$schema['blocks']['fields']['js'] = array(
'type' => 'text',
'not null' => FALSE,
);
}