You are here

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

File

src/EventSubscriber/PreEntitySave/RedirectSource.php, line 20

Class

RedirectSource
Fixes the redirect source field to handle query parameters.

Namespace

Drupal\acquia_contenthub\EventSubscriber\PreEntitySave

Code

public static function getSubscribedEvents() {
  $events[AcquiaContentHubEvents::PRE_ENTITY_SAVE][] = [
    'onPreEntitySave',
    80,
  ];
  return $events;
}