dialog_renderer_test.services.yml
Same filename in other branches
File
-
core/
modules/ system/ tests/ modules/ dialog_renderer_test/ dialog_renderer_test.services.yml
View source
- services:
- # Provide 2 main content renderer services that use the same class but behave
- # differently depending on the 2nd argument.
- main_content_renderer.wide_modal:
- class: Drupal\dialog_renderer_test\Render\MainContent\WideModalRenderer
- arguments: ['@title_resolver', '@renderer', 'wide']
- tags:
- - { name: render.main_content_renderer, format: drupal_modal.wide }
- main_content_renderer.extra_wide_modal:
- class: Drupal\dialog_renderer_test\Render\MainContent\WideModalRenderer
- arguments: ['@title_resolver', '@renderer', 'extra_wide']
- tags:
- - { 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.