protected function EventHandler::getControlData in Services Client 7.2
Retrieve controll data for current entity.
Return value
1 call to EventHandler::getControlData()
- EntitySaveHandler::execute in include/
event.inc - Execute event and send event to remove endpoint.
File
- include/
event.inc, line 557
Class
- EventHandler
- Event handler plugin.
Code
protected function getControlData() {
if ($this
->getEntity()) {
$remote_id = $this
->getConnectionId();
return new ServicesClientControl($this
->getEntity(), services_client_get_id(), $remote_id);
}
return NULL;
}