You are here

final class ContentHubPublisherEvents in Acquia Content Hub 8.2

Defines events for the acquia_contenthub_publisher module.

Hierarchy

Expanded class hierarchy of ContentHubPublisherEvents

See also

\Drupal\acquia_contenthub_publisher\Event\SerializeCdfEntityFieldEvent

14 files declare their use of ContentHubPublisherEvents
acquia_contenthub_publisher.module in modules/acquia_contenthub_publisher/acquia_contenthub_publisher.module
Drupal Module: Acquia Content Hub - Publisher.
EntityTypeOrBundleExclude.php in modules/acquia_contenthub_publisher/src/EventSubscriber/EnqueueEligibility/EntityTypeOrBundleExclude.php
FileIsTemporary.php in modules/acquia_contenthub_publisher/src/EventSubscriber/EnqueueEligibility/FileIsTemporary.php
FileSchemeIsSupported.php in modules/acquia_contenthub_publisher/src/EventSubscriber/EnqueueEligibility/FileSchemeIsSupported.php
ImportedEntity.php in modules/acquia_contenthub_publisher/src/EventSubscriber/EnqueueEligibility/ImportedEntity.php

... See full list

File

modules/acquia_contenthub_publisher/src/ContentHubPublisherEvents.php, line 10

Namespace

Drupal\acquia_contenthub_publisher
View source
final class ContentHubPublisherEvents {

  /**
   * Event name fired for eligibility of an entity to POST to ContentHub.
   *
   * This event determines the eligibility of an entity before enqueuing it to
   * POST to Content hub. Event subscribers receive a
   * \Drupal\acquia_contenthub_publisher\Event\ContentHubEntityEligibilityEvent
   * instance. A simple TRUE/FALSE on eligibility check is expected for each
   * event.
   */
  const ENQUEUE_CANDIDATE_ENTITY = 'enqueue_candidate_entity';

  /**
   * Event name fired if "staled" entities found during the cron operation.
   *
   * A "stale" entity is an entity that was not confirmed by the service within
   * the specified period of time. Please refer to the "Period threshold for
   * stale items" setting on "Acquia ContentHub" > "Export" administration page
   * to specify the threshold period (or disable it).
   * Event subscribers receive a
   * \Drupal\acquia_contenthub_publisher\EventNotConfirmedEntitiesFoundEvent
   * instance.
   */
  const NOT_CONFIRMED_ENTITIES_FOUND = 'not_confirmed_entities_found';

}

Members

Namesort descending Modifiers Type Description Overrides
ContentHubPublisherEvents::ENQUEUE_CANDIDATE_ENTITY constant Event name fired for eligibility of an entity to POST to ContentHub.
ContentHubPublisherEvents::NOT_CONFIRMED_ENTITIES_FOUND constant Event name fired if "staled" entities found during the cron operation.