You are here

public static function IsNotParagraph::getSubscribedEvents in Acquia Content Hub 8.2

File

modules/acquia_contenthub_publisher/src/EventSubscriber/EnqueueEligibility/IsNotParagraph.php, line 18

Class

IsNotParagraph
Subscribes to entity eligibility to prevent enqueueing paragraphs.

Namespace

Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibility

Code

public static function getSubscribedEvents() {
  $events[ContentHubPublisherEvents::ENQUEUE_CANDIDATE_ENTITY][] = [
    'onEnqueueCandidateEntity',
    50,
  ];
  return $events;
}