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\PreEntitySaveCode
public static function getSubscribedEvents() {
$events[AcquiaContentHubEvents::PRE_ENTITY_SAVE][] = [
'onPreEntitySave',
80,
];
return $events;
}