You are here

function slick_ui_menu in Slick Carousel 7.3

Same name and namespace in other branches
  1. 7.2 slick_ui/slick_ui.module \slick_ui_menu()

Implements hook_menu().

File

slick_ui/slick_ui.module, line 29
Provides Slick carousel configuration entity UI.

Code

function slick_ui_menu() {
  $items['admin/config/media/slick/ui'] = [
    'title' => 'UI',
    'description' => 'Configure the Slick UI.',
    'page callback' => 'drupal_get_form',
    'page arguments' => [
      'slick_ui_build_form',
    ],
    'access arguments' => [
      'administer slick',
    ],
    'type' => MENU_LOCAL_TASK,
    'weight' => 3,
  ];
  return $items;
}