You are here

function _services_client_condition in Services Client 7

List of server plugins provided by module

1 call to _services_client_condition()
services_client_services_client_condition in ./services_client.module
Implementation of hook_services_client_server().

File

include/plugin_definition.inc, line 66
Plugin definition

Code

function _services_client_condition() {
  $path = drupal_get_path('module', 'services_client') . '/plugins';
  $info = array();
  $info['ServicesClientNodeCondition'] = array(
    'name' => t('Node Conditions'),
    'description' => '',
    'handler' => array(
      'parent' => 'ServicesClientCondition',
      'class' => 'ServicesClientNodeCondition',
      'file' => 'ServicesClientNodeCondition.inc',
      'path' => $path,
    ),
    'supports' => array(
      'node_save',
      'node_delete',
    ),
  );
  $info['ServicesClientUserCondition'] = array(
    'name' => t('User Conditions'),
    'description' => '',
    'handler' => array(
      'parent' => 'ServicesClientCondition',
      'class' => 'ServicesClientUserCondition',
      'file' => 'ServicesClientUserCondition.inc',
      'path' => $path,
    ),
    'supports' => array(
      'user_save',
    ),
  );
  $info['ServicesClientWebformCondition'] = array(
    'name' => t('Webform Conditions'),
    'description' => '',
    'handler' => array(
      'parent' => 'ServicesClientCondition',
      'class' => 'ServicesClientWebformCondition',
      'file' => 'ServicesClientWebformCondition.inc',
      'path' => $path,
    ),
    'supports' => array(
      'webform_submission_save',
    ),
  );
  return $info;
}