function block_attributes_menu in Block Attributes 7
Implements hook_menu().
Provide a configuration form to allow users to configure which attributes should be enabled or disabled and the default values for new blocks.
File
- ./
block_attributes.module, line 29 - Enhanced control over the HTML attributes of any Block.
Code
function block_attributes_menu() {
$items = array();
$items['admin/structure/block/attributes'] = array(
'title' => 'Block Attributes',
'type' => MENU_LOCAL_TASK,
'description' => 'Block Attributes configuration settings.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'block_attributes_settings',
),
'access arguments' => array(
'administer block attributes',
),
'file' => 'block_attributes.admin.inc',
// Ensure the tab is displayed in the last position.
'weight' => 99,
);
return $items;
}