function resp_img_menu in Responsive images and styles 7
Same name and namespace in other branches
- 7.2 resp_img.module \resp_img_menu()
Implements hook_menu().
File
- ./
resp_img.module, line 64
Code
function resp_img_menu() {
$items = array();
$items['admin/config/media/resp_img/settings'] = array(
'title' => 'Settings',
'description' => 'Responsive images and styles',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'resp_img_admin_settings',
),
'access arguments' => array(
'administer image styles',
),
'file' => 'resp_img.admin.inc',
'type' => MENU_LOCAL_TASK,
);
$items['admin/config/media/resp_img/create_style'] = array(
'title' => 'Add responsive style',
'description' => 'Add a responsive image style',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'resp_img_add_style_form',
),
'access arguments' => array(
'administer image styles',
),
'file' => 'resp_img.admin.inc',
'type' => MENU_LOCAL_TASK,
);
return $items;
}