You are here

function devel_image_provider_menu in Devel images provider 7

Same name and namespace in other branches
  1. 8 devel_image_provider.module \devel_image_provider_menu()

Implements hook_menu().

File

./devel_image_provider.module, line 12
Module file that exposes the options to select an external image provider to generate images.

Code

function devel_image_provider_menu() {
  $items['admin/config/development/devel_generate_image_provider'] = array(
    'title' => 'Devel Generate Image Providers',
    'description' => 'Allow choose image provider in content generation',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'devel_image_provider_providers_form',
    ),
    'access arguments' => array(
      'administer nodes',
    ),
  );
  return $items;
}