plugin_type_example.services.yml

Same filename in other branches
  1. 3.x modules/plugin_type_example/plugin_type_example.services.yml
modules/plugin_type_example/plugin_type_example.services.yml

File

modules/plugin_type_example/plugin_type_example.services.yml

View source
  1. # This declares the plugin manager to the service container. For background
  2. # information on the service container, see https://www.drupal.org/node/2133171.
  3. # Changes here require that the cache be cleared in order to have Drupal notice
  4. # them.
  5. services:
  6. # The machine name of the service. This is the string that must be passed to
  7. # Drupal::service() to get the instantiated plugin manager.
  8. plugin.manager.sandwich:
  9. # This tells the service container the name of our plugin manager class.
  10. class: Drupal\plugin_type_example\SandwichPluginManager
  11. parent: default_plugin_manager

Services

Title Deprecated Summary
plugin.manager.sandwich Drupal\plugin_type_example\SandwichPluginManager