public static function AnonymousUser::getSubscribedEvents in Acquia Content Hub 8.2
File
- src/
EventSubscriber/ EntityDataTamper/ AnonymousUser.php, line 18
Class
- AnonymousUser
- Replace anonymous user with the local anonymous user.
Namespace
Drupal\acquia_contenthub\EventSubscriber\EntityDataTamperCode
public static function getSubscribedEvents() {
$events[AcquiaContentHubEvents::ENTITY_DATA_TAMPER][] = 'onDataTamper';
return $events;
}