You are here

function mediafront_user_menu in MediaFront 7.2

Implements hook_menu().

File

modules/mediafront_user/mediafront_user.module, line 6

Code

function mediafront_user_menu() {

  // The user settings for the MediaFront Player.
  $items['user/%user/mediafront_settings'] = array(
    'title' => 'Media Player Settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'mediafront_user_settings',
      1,
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'access content',
    ),
    'weight' => 10,
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}