function yamaps_menu in Yandex.Maps 7
Implements hook_menu().
File
- ./
yamaps.module, line 50 - Yandex Maps module main file.
Code
function yamaps_menu() {
return [
'admin/config/services/yamaps' => [
'title' => 'Yandex Maps configuration',
'description' => 'Yandex Maps configuration',
'page callback' => 'drupal_get_form',
'page arguments' => [
'yamaps_settings_page',
],
'access arguments' => [
'administer yamaps settings',
],
'file' => 'yamaps.admin.inc',
'type' => MENU_LOCAL_TASK,
],
];
}