You are here

service preprocess_event.factory_mapper in Hook Event Dispatcher 8

Same name and namespace in other branches
  1. 8.2 modules/preprocess_event_dispatcher/preprocess_event_dispatcher.services.yml \preprocess_event.factory_mapper
  2. 3.x modules/preprocess_event_dispatcher/preprocess_event_dispatcher.services.yml \preprocess_event.factory_mapper

Class

Drupal\hook_event_dispatcher\Service\PreprocessEventFactoryMapper
2 string references to preprocess_event.factory_mapper
PreprocessEventPass::process in src/Service/PreprocessEventPass.php
Add the PreprocessEventFactories to the PreprocessEventFactoryMapper.
PreprocessEventPassTest::testOverwritingDefaultFactory in tests/src/Unit/Preprocess/PreprocessEventPassTest.php
Test if we can overwrite a default factory.

File

./hook_event_dispatcher.services.yml
hook_event_dispatcher.services.yml

View source
  1. class: Drupal\hook_event_dispatcher\Service\PreprocessEventFactoryMapper