You are here

dialog_renderer_test.services.yml in Drupal 10

core/modules/system/tests/modules/dialog_renderer_test/dialog_renderer_test.services.yml

File

core/modules/system/tests/modules/dialog_renderer_test/dialog_renderer_test.services.yml
View source
  1. services:
  2. # Provide 2 main content renderer services that use the same class but
  3. # behave differently depending on the 2nd argument.
  4. main_content_renderer.wide_modal:
  5. class: Drupal\dialog_renderer_test\Render\MainContent\WideModalRenderer
  6. arguments: ['@title_resolver', '@renderer', 'wide']
  7. tags:
  8. - { name: render.main_content_renderer, format: drupal_modal.wide }
  9. main_content_renderer.extra_wide_modal:
  10. class: Drupal\dialog_renderer_test\Render\MainContent\WideModalRenderer
  11. arguments: ['@title_resolver', '@renderer', 'extra_wide']
  12. tags:
  13. - { name: render.main_content_renderer, format: drupal_modal.extra_wide }