You are here

public function ServicesClientControl::shouldQueue in Services Client 7.2

Determine weather data should be queued.

Return value

bool TRUE if event should be queued.

File

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

Class

ServicesClientControl
Class for handling control data.

Code

public function shouldQueue() {
  if (!$this
    ->bypassQueue() && (!empty($this->data['origin']) || !empty($this->data['v2']['id']))) {
    return TRUE;
  }
  return FALSE;
}