You are here

function video_customfields_menu in Video 5

Same name and namespace in other branches
  1. 6 plugins/video_customfields/video_customfields.module \video_customfields_menu()

Implementation of hook_menu().

File

plugins/video_customfields/video_customfields.module, line 32
Enable addition of custom fileds on video nodes created by video module.

Code

function video_customfields_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/content/video/customfields',
      'title' => t('Customfields'),
      'description' => t('Administer video_customfields module settings'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'video_customfields_settings_form',
      ),
      'access' => user_access('administer site configuration'),
      'type' => MENU_NORMAL_ITEM,
    );
  }
  return $items;
}