function editor_schema_alter in Editor 7
Implements hook_schema_alter().
1 call to editor_schema_alter()
- editor_install in ./
editor.install - Implements hook_install().
File
- ./
editor.install, line 11 - Install, update and uninstall functions for the Editor module.
Code
function editor_schema_alter(&$schema) {
$schema['filter_format']['fields']['editor'] = array(
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
'description' => 'Name of the associated editor (CKEditor).',
);
$schema['filter_format']['fields']['editor_settings'] = array(
'type' => 'text',
'size' => 'big',
'not null' => FALSE,
'serialize' => TRUE,
'description' => 'A serialized array of name value pairs that store the editor settings for the specific editor.',
);
}