function hook_services_client_plugins_alter in Services Client 7.2
Alter list of available plugins.
Parameters
array $plugins: List of all currently available plugins
string $type: Type of required plugins
1 invocation of hook_services_client_plugins_alter()
- services_client_get_plugins in ./
services_client.plugins.inc - Get list of all plugins
File
- ./
services_client.api.php, line 17 - Services client allows you to push different objects from local drupal installation to remote servers via REST api.
Code
function hook_services_client_plugins_alter($plugins, $type) {
if (isset($plugins['MyType'])) {
// Alter plugin definition.
}
}