You are here

service events_example_subscriber in Examples for Developers 3.x

Same name and namespace in other branches
  1. 8 events_example/events_example.services.yml \events_example_subscriber

Class

Drupal\events_example\EventSubscriber\EventsExampleSubscriber

Tags

  • event_subscriber
1 string reference to events_example_subscriber
EventsExampleServiceTest::testEventsExampleService in modules/events_example/tests/src/Kernel/EventsExampleServiceTest.php
Test for existence of 'events_example_subscriber' service.

File

modules/events_example/events_example.services.yml
modules/events_example/events_example.services.yml

View source
  1. class: Drupal\events_example\EventSubscriber\EventsExampleSubscriber
  2. tags:
  3. - { name: event_subscriber }