View source
<?php
$plugin = array(
'schema' => 'services_client_connection_event',
'access' => 'administer services client',
'menu' => array(
'menu item' => 'services_client',
'menu title' => 'Services Client',
'menu description' => 'Administer Services Client Connection Events.',
'items' => array(
'configure' => array(
'path' => 'list/%ctools_export_ui/configure',
'title' => 'Configure',
'page callback' => 'ctools_export_ui_switcher_page',
'page arguments' => array(
'services_client',
'configure',
4,
),
'load arguments' => array(
'services_client',
),
'access arguments' => array(
'administer services client',
),
'type' => MENU_LOCAL_TASK,
),
'break-lock' => array(
'path' => 'list/%ctools_export_ui/break-lock',
'title' => 'Configure',
'page callback' => 'ctools_export_ui_switcher_page',
'page arguments' => array(
'services_client',
'break_lock',
4,
),
'load arguments' => array(
'services_client',
),
'access arguments' => array(
'administer services client',
),
'type' => MENU_VISIBLE_IN_BREADCRUMB,
),
'add_plugin' => array(
'path' => 'list/%ctools_export_ui/add_plugin/%',
'title' => 'Configure',
'page callback' => 'ctools_export_ui_switcher_page',
'page arguments' => array(
'services_client',
'add_plugin',
4,
6,
),
'load arguments' => array(
'services_client',
),
'access arguments' => array(
'administer services client',
),
'type' => MENU_CALLBACK,
),
'configure_plugin' => array(
'path' => 'list/%ctools_export_ui/plugin/%/%/edit',
'title' => 'Configure',
'page callback' => 'ctools_export_ui_switcher_page',
'page arguments' => array(
'services_client',
'configure_plugin',
4,
6,
7,
),
'load arguments' => array(
'services_client',
),
'access arguments' => array(
'administer services client',
),
'type' => MENU_CALLBACK,
),
'remove_plugin' => array(
'path' => 'list/%ctools_export_ui/plugin/%/%/remove',
'title' => 'Configure',
'page callback' => 'ctools_export_ui_switcher_page',
'page arguments' => array(
'services_client',
'remove_plugin',
4,
6,
7,
),
'load arguments' => array(
'services_client',
),
'access arguments' => array(
'administer services client',
),
'type' => MENU_CALLBACK,
),
),
),
'title singular' => t('event'),
'title plural' => t('events'),
'title singular proper' => t('Services Client Event'),
'title plural proper' => t('Services Client events'),
'allowed operations' => array(
'configure' => array(
'title' => t('Configure'),
),
),
'form' => array(
'settings' => 'services_client_ctools_export_ui_form',
'submit' => 'services_client_ctools_export_ui_form_submit',
),
'handler' => array(
'class' => 'services_client_ui',
'parent' => 'ctools_export_ui',
),
);