You are here

function yandex_turbo_menu in Yandex.Turbo 7

Same name and namespace in other branches
  1. 7.4 yandex_turbo.module \yandex_turbo_menu()
  2. 7.2 yandex_turbo.module \yandex_turbo_menu()
  3. 7.3 yandex_turbo.module \yandex_turbo_menu()

Implements hook_menu().

File

./yandex_turbo.module, line 6

Code

function yandex_turbo_menu() {
  $items = array();
  $items['admin/config/services/yandex-turbo'] = array(
    'title' => 'Yandex.Turbo RSS',
    'description' => 'Configure the RSS node types, title, description, nodes sort order and analytics.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'yandex_turbo_settings',
    ),
    'access arguments' => array(
      'access administration pages',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'yandex_turbo.settings.inc',
  );
  $items['yandex.turbo.rss'] = array(
    'title' => 'Yandex Turbo RSS feed',
    'page callback' => 'yandex_turbo_page_rss',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'yandex_turbo.pages.inc',
  );
  return $items;
}