service plugin.manager.sandwich in Examples for Developers 3.x
Same name and namespace in other branches
- 8 plugin_type_example/plugin_type_example.services.yml \plugin.manager.sandwich
Class
Drupal\plugin_type_example\SandwichPluginManager2 string references to plugin.manager.sandwich
- PluginTypeExampleController::create in modules/
plugin_type_example/ src/ Controller/ PluginTypeExampleController.php - Override the parent method so that we can inject our sandwich plugin manager service into the controller.
- PluginTypeExampleTest::testPluginExample in modules/
plugin_type_example/ tests/ src/ Functional/ PluginTypeExampleTest.php - Test the plugin manager can be loaded, and the plugins are registered.
File
- modules/
plugin_type_example/ plugin_type_example.services.yml - modules/plugin_type_example/plugin_type_example.services.yml
View source
- class: Drupal\plugin_type_example\SandwichPluginManager
- parent: default_plugin_manager