You are here

Purge.php in Acquia Content Hub 8.2

File

modules/acquia_contenthub_subscriber/src/EventSubscriber/HandleWebhook/Purge.php
View source
<?php

namespace Drupal\acquia_contenthub_subscriber\EventSubscriber\HandleWebhook;

use Drupal\acquia_contenthub\EventSubscriber\HandleWebhook\PurgeBase;

/**
 * Class PurgeSubscriber.
 *
 * Reacts on "purge" webhook and purges the subscriber's import
 * queue.
 *
 * @package Drupal\acquia_contenthub_subscriber\EventSubscriber\HandleWebhook
 */
class Purge extends PurgeBase {

  /**
   * {@inheritdoc}
   */
  protected function getQueueName() : string {
    return 'acquia_contenthub_subscriber_import';
  }

}

Classes

Namesort descending Description
Purge Class PurgeSubscriber.