You are here

function panels_views_legacy_menu in Panels 5.2

Implementation of hook_menu().

File

panels_views_legacy/panels_views_legacy.module, line 15
panels_views_legacy.module

Code

function panels_views_legacy_menu($may_cache) {
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/panels/views-legacy',
      'title' => t('Legacy views'),
      'access' => user_access('access administration pages'),
      'type' => MENU_NORMAL_ITEM,
      'callback' => 'panels_views_legacy_admin',
      'description' => t('Information about the legacy views content type.'),
    );
    return $items;
  }
}