function block_aria_landmark_roles_update_7102 in Block ARIA Landmark Roles 7
Same name and namespace in other branches
- 7.2 block_aria_landmark_roles.install \block_aria_landmark_roles_update_7102()
Add a new table for ARIA labels.
File
- ./
block_aria_landmark_roles.install, line 96 - Install, update, and uninstall functions for the Blocks ARIA Landmark Roles module.
Code
function block_aria_landmark_roles_update_7102() {
$schema = array(
'description' => 'Stores ARIA labels assigned to blocks',
'fields' => array(
'module' => array(
'description' => 'The name of the module that generates the block',
'type' => 'varchar',
'length' => '255',
'not null' => TRUE,
'default' => '',
),
'delta' => array(
'description' => 'The delta value of the block',
'type' => 'varchar',
'length' => '255',
'not null' => TRUE,
'default' => '',
),
'label' => array(
'description' => 'The assigned label',
'type' => 'varchar',
'length' => '255',
'not null' => TRUE,
'default' => '',
),
),
);
db_create_table('block_aria_landmark_roles_label', $schema);
}