You are here

function yandex_services_auth_menu in Yandex Services Authorization API 8

Same name and namespace in other branches
  1. 6 yandex_services_auth.module \yandex_services_auth_menu()
  2. 7 yandex_services_auth.module \yandex_services_auth_menu()

Implements hook_menu().

File

./yandex_services_auth.module, line 10
Main file for the Yandex Services Authorization API module.

Code

function yandex_services_auth_menu() {
  $items = array();
  $items['admin/config/system/yandex_services_auth'] = array(
    'title' => 'Yandex Services Authorization',
    'description' => 'Authorize your site to utilize Yandex services.',
    'route_name' => 'yandex_services_auth.authorization_form',
  );
  $items['yandex_services_auth/oauth'] = array(
    'route_name' => 'yandex_services_auth.oauth_callback',
    'type' => MENU_CALLBACK,
  );
  return $items;
}