plugin.manager.sandwich
Same name in other branches
- 3.x modules/plugin_type_example/plugin_type_example.services.yml \plugin.manager.sandwich
- 4.0.x modules/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 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 plugin_type_example/
tests/ src/ Functional/ PluginTypeExampleTest.php - Test the plugin manager can be loaded, and the plugins are registered.
File
-
plugin_type_example/
plugin_type_example.services.yml
View source
- class: Drupal\plugin_type_example\SandwichPluginManager
- parent: default_plugin_manager