discovery__1_0.inc in RESTful 7
File
plugins/restful/ctools_plugins/1.0/discovery__1_0.inc
View source
<?php
if (variable_get('restful_enable_discovery_resource', TRUE)) {
$plugin = array(
'label' => t('Discovery'),
'description' => t('Discovery plugin'),
'resource' => 'discovery',
'class' => 'RestfulCToolsPluginsDiscovery',
'data_provider_options' => array(
'module' => 'restful',
'type' => 'restful',
),
'authentication_types' => TRUE,
'authentication_optional' => TRUE,
'discoverable' => FALSE,
'menu_item' => variable_get('restful_hook_menu_base_path', 'api'),
);
}