You are here

AcquiaPurgeProcessorInterface.php in Acquia Purge 7

Contains AcquiaPurgeProcessorInterface.

File

lib/processor/AcquiaPurgeProcessorInterface.php
View source
<?php

/**
 * @file
 * Contains AcquiaPurgeProcessorInterface.
 */

/**
 * Describes a processor that processes items from the queue.
 */
interface AcquiaPurgeProcessorInterface {

  /**
   * Determine if the processor is enabled or not.
   */
  public static function isEnabled();

  /**
   * Subscribe to the events this processor requires.
   *
   * @return string[]
   *   Non-associative array of event names.
   */
  public function getSubscribedEvents();

}

Interfaces

Namesort descending Description
AcquiaPurgeProcessorInterface Describes a processor that processes items from the queue.