function _services_client_mapping in Services Client 7
List of auth plugins provided by module
1 call to _services_client_mapping()
- services_client_services_client_mapping in ./
services_client.module - Implementation of hook_services_client_mapping().
File
- include/
plugin_definition.inc, line 11 - Plugin definition
Code
function _services_client_mapping() {
$path = drupal_get_path('module', 'services_client') . '/plugins';
$info = array();
$info['ServicesClientNodeMapping'] = array(
'name' => t('Node Mappings'),
'description' => '',
'handler' => array(
'parent' => 'ServicesClientMapping',
'class' => 'ServicesClientNodeMapping',
'file' => 'ServicesClientNodeMapping.inc',
'path' => $path,
),
'supports' => array(
'node_save',
'node_delete',
),
);
$info['ServicesClientUserMapping'] = array(
'name' => t('User Mappings'),
'description' => '',
'handler' => array(
'parent' => 'ServicesClientMapping',
'class' => 'ServicesClientUserMapping',
'file' => 'ServicesClientUserMapping.inc',
'path' => $path,
),
'supports' => array(
'user_save',
),
);
// Not inheriting from the Nodemapping to keep it isolated
$info['ServicesClientWebformMapping'] = array(
'name' => t('Webform Mappings'),
'description' => '',
'handler' => array(
'parent' => 'ServicesClientMapping',
'class' => 'ServicesClientWebformMapping',
'file' => 'ServicesClientWebformMapping.inc',
'path' => $path,
),
'supports' => array(
'webform_submission_save',
),
);
return $info;
}