You are here

final class AdvancedQueueEvents in Advanced Queue 8

Defines events for Advanced queue.

Hierarchy

Expanded class hierarchy of AdvancedQueueEvents

1 file declares its use of AdvancedQueueEvents
Processor.php in src/Processor.php

File

src/Event/AdvancedQueueEvents.php, line 8

Namespace

Drupal\advancedqueue\Event
View source
final class AdvancedQueueEvents {

  /**
   * Name of the event fired before processing a job.
   *
   * @Event
   *
   * @see \Drupal\advancedqueue\Event\JobEvent
   */
  const PRE_PROCESS = 'advancedqueue.pre_process';

  /**
   * Name of the event fired after processing a job.
   *
   * Fired before the job is passed back to the backend, allowing event
   * subscribers to modify it when needed.
   *
   * @Event
   *
   * @see \Drupal\advancedqueue\Event\JobEvent
   */
  const POST_PROCESS = 'advancedqueue.post_process';

}

Members

Namesort descending Modifiers Type Description Overrides
AdvancedQueueEvents::POST_PROCESS constant Name of the event fired after processing a job.
AdvancedQueueEvents::PRE_PROCESS constant Name of the event fired before processing a job.