dialog_renderer_test.services.yml

Same filename in other branches
  1. 9 core/modules/system/tests/modules/dialog_renderer_test/dialog_renderer_test.services.yml
  2. 8.9.x core/modules/system/tests/modules/dialog_renderer_test/dialog_renderer_test.services.yml
  3. 10 core/modules/system/tests/modules/dialog_renderer_test/dialog_renderer_test.services.yml
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 behave
  3. # 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 }

Services

Title Deprecated Summary
main_content_renderer.extra_wide_modal Drupal\dialog_renderer_test\Render\MainContent\WideModalRenderer
main_content_renderer.wide_modal Drupal\dialog_renderer_test\Render\MainContent\WideModalRenderer

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.