function fckeditor_schema in FCKeditor - WYSIWYG HTML editor 6
Same name and namespace in other branches
- 6.2 fckeditor.install \fckeditor_schema()
Implementation of hook_schema().
File
- ./
fckeditor.install, line 155
Code
function fckeditor_schema() {
$schema['fckeditor_settings'] = array(
'description' => 'Stores FCKeditor profile settings',
'fields' => array(
'name' => array(
'type' => 'varchar',
'not null' => TRUE,
'default' => '',
'length' => 128,
'description' => 'Name of the FCKeditor profile',
),
'settings' => array(
'type' => 'text',
'description' => 'Profile settings',
),
),
'primary key' => array(
'name',
),
);
$schema['fckeditor_role'] = array(
'description' => 'Stores FCKeditor profile assignments',
'fields' => array(
'name' => array(
'type' => 'varchar',
'not null' => TRUE,
'default' => '',
'length' => 128,
'description' => 'Name of the FCKeditor role',
),
'rid' => array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
'description' => 'Drupal role id',
),
),
'primary key' => array(
'name',
'rid',
),
);
return $schema;
}