function page_title_schema in Page Title 8.2
Same name and namespace in other branches
- 6.2 page_title.install \page_title_schema()
- 6 page_title.install \page_title_schema()
- 7.2 page_title.install \page_title_schema()
- 7 page_title.install \page_title_schema()
Implements hook_schema().
File
- ./
page_title.install, line 12 - page_title.install
Code
function page_title_schema() {
$schema['page_title'] = array(
'fields' => array(
'type' => array(
'type' => 'varchar',
'length' => 15,
'not null' => TRUE,
'default' => 'node',
),
'id' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
),
'page_title' => array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
),
),
'primary key' => array(
'type',
'id',
),
);
return $schema;
}