function imagecache_external_menu in Imagecache External 7
Same name and namespace in other branches
- 6.2 imagecache_external.module \imagecache_external_menu()
- 6 imagecache_external.module \imagecache_external_menu()
- 7.2 imagecache_external.module \imagecache_external_menu()
Implements hook_menu().
File
- ./
imagecache_external.module, line 14
Code
function imagecache_external_menu() {
// more complex menu item
$items['admin/config/media/imagecache_external'] = array(
'title' => 'Imagecache External',
'description' => 'Configure imagecache external',
'file' => 'imagecache_external.admin.inc',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'imagecache_external_admin_form',
),
'access arguments' => array(
'Administer imagecache external',
),
'type' => MENU_NORMAL_ITEM,
);
$items['admin/config/media/imagecache_external/settings'] = array(
'title' => 'Settings',
'description' => 'Configure imagecache external',
'file' => 'imagecache_external.admin.inc',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'imagecache_external_admin_form',
),
'access arguments' => array(
'Administer imagecache external',
),
'type' => MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/config/media/imagecache_external/flush'] = array(
'title' => 'Flush external images',
'description' => 'Flush external images',
'file' => 'imagecache_external.admin.inc',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'imagecache_external_flush_form',
),
'access arguments' => array(
'Administer imagecache external',
),
'type' => MENU_LOCAL_TASK,
);
return $items;
}