You are here

function video_ffmpeg_helper_menu in Video 5

Same name and namespace in other branches
  1. 6 plugins/video_ffmpeg_helper/video_ffmpeg_helper.module \video_ffmpeg_helper_menu()
  2. 6.2 plugins/video_ffmpeg_helper/video_ffmpeg_helper.module \video_ffmpeg_helper_menu()

Implementation of hook_menu()

File

plugins/video_ffmpeg_helper/video_ffmpeg_helper.module, line 51
Provide some api for use ffmpeg. Simplify video nodes creation.

Code

function video_ffmpeg_helper_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/video/ffmpeg_helper',
      'title' => t('Video ffmpeg Helper'),
      'description' => t('Administer video_ffmpeg_helper module settings'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'video_ffmpeg_helper_admin_settings',
      ),
      'access' => user_access('administer site configuration'),
      'type' => MENU_NORMAL_ITEM,
    );
  }
  return $items;
}