Last active
September 17, 2019 10:48
-
-
Save jorislucius/c468c3e5bd7e80ff424ff81a0d6722ff to your computer and use it in GitHub Desktop.
Yml file needed in Drupal 8 module for defining RedirectAnonymousSubscriber
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
<yourmodulename>.event_subscriber: | |
class: Drupal\<yourmodulename>\EventSubscriber\RedirectAnonymousSubscriber | |
arguments: [] | |
tags: | |
- {name: event_subscriber} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment