You are here

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

File

modules/acquia_contenthub_subscriber/src/EventSubscriber/EntityDataTamper/ExistingEntity.php, line 36

Class

ExistingEntity
Place existing entities into the dependency stack.

Namespace

Drupal\acquia_contenthub_subscriber\EventSubscriber\EntityDataTamper

Code

public static function getSubscribedEvents() {
  $events[AcquiaContentHubEvents::ENTITY_DATA_TAMPER][] = [
    'onDataTamper',
    100,
  ];
  return $events;
}