You are here

function twitter_profile_widget_menu in Twitter Profile Widget 7

Same name and namespace in other branches
  1. 6 twitter_profile_widget.module \twitter_profile_widget_menu()

Implements hook_menu().

File

./twitter_profile_widget.module, line 18

Code

function twitter_profile_widget_menu() {
  $items = array();
  $items['admin/config/services/twitter_profile_widget'] = array(
    'title' => 'Twitter Profile Widget',
    'description' => 'Configure twitter profile block',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'twitter_profile_widget_admin',
    ),
    'access arguments' => array(
      'administer twitter profile widget',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'twitter_profile_widget.admin.inc',
  );
  return $items;
}