function deploy_services_client_delete_entity_from_plan_endpoints in Deploy Services Client 7
Deletes an entity from endpoints associated with a Deployment plan.
Parameters
EntityMetadataWrapper $entity: The entity object to delete. Construct this by calling entity_metadata_wrapper() on a normal Drupal entity.
DeployPlan $plan: The Deployment plan object (as returned by deploy_plan_load()) whose endpoints will be contacted to delete the entity.
Return value
An array of endpoint names on which the entity existed and was successfully deleted.
Throws
File
- ./
deploy_services_client.module, line 25 - Provides a Services client which communicates with Deployment endpoints.
Code
function deploy_services_client_delete_entity_from_plan_endpoints(EntityMetadataWrapper $entity, DeployPlan $plan) {
return _deploy_services_client_call_for_each_endpoint('deploy_services_client_delete_entity_from_endpoint', $entity, $plan);
}