function simplify_menu in Simplify 7.3
Same name and namespace in other branches
- 7.2 simplify.module \simplify_menu()
Implements hook_menu().
File
- ./
simplify.module, line 67 - Simplifies the user interface by hiding particular fields.
Code
function simplify_menu() {
$items = array();
// Add global configuration form
$items['admin/config/user-interface/simplify'] = array(
'title' => 'Simplify',
'description' => 'Configure hidden fields globally.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'simplify_global_configuration_form',
),
'access arguments' => array(
'administer simplify',
),
);
return $items;
}