You are here

function imageapi_optimize_menu in Image Optimize (or ImageAPI Optimize) 7

Same name and namespace in other branches
  1. 7.2 imageapi_optimize.module \imageapi_optimize_menu()

Implements hook_menu().

File

./imageapi_optimize.module, line 60
Image optimize functionalities.

Code

function imageapi_optimize_menu() {
  $items['admin/config/media/image-toolkit/imageapi_optimize/%'] = array(
    'title callback' => 'imageapi_optimize_internal_binary_settings_title',
    'title arguments' => array(
      5,
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'imageapi_optimize_internal_binary_settings',
      5,
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'services/internal.inc',
  );
  return $items;
}