function imagecache_external_menu in Imagecache External 7.2
Same name and namespace in other branches
- 6.2 imagecache_external.module \imagecache_external_menu()
- 6 imagecache_external.module \imagecache_external_menu()
- 7 imagecache_external.module \imagecache_external_menu()
Implements hook_menu().
File
- ./
imagecache_external.module, line 24 - Allows the usage of Image Styles on external images.
Code
function imagecache_external_menu() {
$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,
'weight' => 0,
);
$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,
'weight' => 1,
);
return $items;
}