You are here

function views_content_menu in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 views_content/views_content.module \views_content_menu()

Implementation of hook_menu().

File

views_content/views_content.module, line 14
views_content.module

Code

function views_content_menu() {
  $items = array();
  if (!module_exists('panels')) {
    $items['admin/settings/content-views'] = array(
      'title' => 'Views panes',
      'access arguments' => array(
        'administer views content plugin',
      ),
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        'views_content_admin_page',
      ),
      'description' => 'Configure Views to be used as CTools content.',
      'type' => MENU_NORMAL_ITEM,
    );
  }
  return $items;
}