function viewport_menu in Viewport 7
Implements hook_menu().
File
- ./
viewport.module, line 69 - viewport module Allows to set a viewport metatag with custom settings for a selected set of pages.
Code
function viewport_menu() {
$items = array();
$items['admin/config/user-interface/viewport'] = array(
'title' => 'Viewport Settings',
'description' => 'Configure viewport settings for a selected set of pages.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'viewport_settings_form',
),
'access arguments' => array(
'administer viewport',
),
'file' => 'viewport.admin.inc',
'type' => MENU_NORMAL_ITEM,
);
return $items;
}