function views_content_menu

Implements hook_menu().

File

views_content/views_content.module, line 13

Code

function views_content_menu() {
    $items = array();
    if (!module_exists('panels')) {
        $items['admin/config/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;
}