function modernizr_menu in Modernizr 8
Same name and namespace in other branches
- 7.3 modernizr.module \modernizr_menu()
- 7.2 modernizr.module \modernizr_menu()
Implements hook_menu().
File
- ./
modernizr.module, line 37 - Main module file for Modernizr
Code
function modernizr_menu() {
$items = array();
$items['modernizr_settings'] = array(
'title' => 'Modernizr settings',
'description' => 'Queries Drupal for Modernizr dependencies and generates a custom link to the Modernizr builder.',
'route_name' => 'modernizr_settings',
// 'page callback' => 'modernizr_generate_url',
'file' => 'modernizr.admin.inc',
'type' => MENU_NORMAL_ITEM,
'access arguments' => array(
'administer modernizr',
),
);
return $items;
}