You are here

function iek_menu in Image effect kit 7

Implements hook_menu().

File

./iek.module, line 21
Primarily Drupal hooks and global API functions to manipulate image styles.

Code

function iek_menu() {
  $items = array();

  /**
   * @todo To add an admin UI to allow upload custom fonts or
   * watermarks.
   */

  /*
  $items['admin/config/media/iek'] = array(
    'title' => 'Image effect kit',
    'page callback' => 'drupal_get_form',
    'access callback' => 'user_access',
    'access arguments' => array('administer site configuration'),
    'page arguments' => array('iek_admin_form'),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'iek.admin.inc',
  );
  $items['admin/config/media/iek/watermark'] = array(
    'title' => 'Add watermark font',
    'page callback' => 'drupal_get_form',
    'access callback' => 'user_access',
    'access arguments' => array('administer site configuration'),
    'page arguments' => array('iek_admin_watermark_form'),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'iek.admin.inc',
  );
  */
  return $items;
}