You are here

service renderer in Drupal 10

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

Class

Drupal\Core\Render\Renderer
321 string references to renderer
AccessPermissionTest::testRenderCaching in core/modules/user/tests/src/Kernel/Views/AccessPermissionTest.php
Tests access on render caching.
AccessRoleTest::testRenderCaching in core/modules/user/tests/src/Functional/Views/AccessRoleTest.php
Tests access on render caching.
Actions::preRenderActionsDropbutton in core/lib/Drupal/Core/Render/Element/Actions.php
#pre_render callback for #type 'actions'.
ActionsTest::testDropbuttonWithBubbleableMetadata in core/tests/Drupal/KernelTests/Core/Render/Element/ActionsTest.php
AddFeedTest::testFeedIconEscaping in core/modules/system/tests/src/Kernel/Common/AddFeedTest.php
Checks that special characters are correctly escaped.

... See full list

File

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

View source
  1. class: Drupal\Core\Render\Renderer
  2. arguments:
  3. - '@controller_resolver'
  4. - '@theme.manager'
  5. - '@plugin.manager.element_info'
  6. - '@render_placeholder_generator'
  7. - '@render_cache'
  8. - '@request_stack'
  9. - '%renderer.config%'