public function MockSubscriber::onPurgeCreation in Akamai 8.3
Process purge creation event.
Parameters
\Drupal\akamai\Event\AkamaiPurgeEvents $event: The event to process.
File
- tests/
src/ Kernel/ EventSubscriber/ MockSubscriber.php, line 47
Class
- MockSubscriber
- Mock Event Subscriber for testing.
Namespace
Drupal\Tests\akamai\Kernel\EventSubscriberCode
public function onPurgeCreation(AkamaiPurgeEvents $event) {
$this->event = $event;
$event->data[] = 'on_purge_creation';
}