You are here

service main_content_renderer.html in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \main_content_renderer.html
  2. 9 core/core.services.yml \main_content_renderer.html

Class

Drupal\Core\Render\MainContent\HtmlRenderer

Tags

  • render.main_content_renderer
1 string reference to main_content_renderer.html
PageRenderTest::assertPageRenderHookExceptions in core/modules/system/tests/src/Kernel/Common/PageRenderTest.php
Asserts whether expected exceptions are thrown for invalid hook implementations.

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Render\MainContent\HtmlRenderer
  2. arguments:
  3. - '@title_resolver'
  4. - '@plugin.manager.display_variant'
  5. - '@event_dispatcher'
  6. - '@module_handler'
  7. - '@renderer'
  8. - '@render_cache'
  9. - '%renderer.config%'
  10. - '@theme.manager'
  11. tags:
  12. - { name: render.main_content_renderer, format: html }