/**
* The plugin ID.
*/
public const PLUGIN_ID = 'cron_queue_test_suspend';
/**
* {@inheritdoc}
*/
public function processItem($data) { if ($data === 'suspend'
) { throw new SuspendQueueException('The queue is broken.'
);
} // Do nothing otherwise.
}}