service preprocess_event.factory_mapper in Hook Event Dispatcher 8
Same name and namespace in other branches
- 8.2 modules/preprocess_event_dispatcher/preprocess_event_dispatcher.services.yml \preprocess_event.factory_mapper
- 3.x modules/preprocess_event_dispatcher/preprocess_event_dispatcher.services.yml \preprocess_event.factory_mapper
Class
Drupal\hook_event_dispatcher\Service\PreprocessEventFactoryMapper2 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
View source