You are here

class AkamaiPurgeEvents in Akamai 8.3

Event that is fired when Akamai purge is formed.

Hierarchy

  • class \Drupal\akamai\Event\AkamaiPurgeEvents extends \Symfony\Component\EventDispatcher\Event

Expanded class hierarchy of AkamaiPurgeEvents

4 files declare their use of AkamaiPurgeEvents
AkamaiPurger.php in src/Plugin/Purge/Purger/AkamaiPurger.php
AkamaiTagPurger.php in src/Plugin/Purge/Purger/AkamaiTagPurger.php
AkamaiTagPurgerTest.php in tests/src/Unit/Plugin/Purge/Purger/AkamaiTagPurgerTest.php
MockSubscriber.php in tests/src/Kernel/EventSubscriber/MockSubscriber.php

File

src/Event/AkamaiPurgeEvents.php, line 10

Namespace

Drupal\akamai\Event
View source
class AkamaiPurgeEvents extends Event {
  const PURGE_CREATION = 'akamai.purge_creation';

  /**
   * The invalidation array.
   *
   * @var array
   * The tags/urls/cp codes to manipulate before purge.
   */
  public $data;

  /**
   * Constructs the array.
   *
   * @param array $data
   *   The tags/urls/cp codes to manipulate before purge.
   */
  public function __construct(array $data) {
    $this->data = $data;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AkamaiPurgeEvents::$data public property The invalidation array.
AkamaiPurgeEvents::PURGE_CREATION constant
AkamaiPurgeEvents::__construct public function Constructs the array.