You are here

public function ServicesClientEventResult::success in Services Client 7.2

Returns if event was successful.

Return value

bool TRUE if successful.

File

include/plugin.inc, line 405
Base plugin definitions. All other plugins should be extended from this set of plugins.

Class

ServicesClientEventResult
Class for handling event operation results.

Code

public function success() {
  return empty($this->error_code) && empty($this->error_type);
}