You are here

service paramconverter.entity in Drupal 9

Same name and namespace in other branches
  1. 8 core/core.services.yml \paramconverter.entity

Class

Drupal\Core\ParamConverter\EntityConverter

Tags

  • paramconverter
2 string references to paramconverter.entity
EntityConverterLatestRevisionTest::setUp in core/tests/Drupal/KernelTests/Core/ParamConverter/EntityConverterLatestRevisionTest.php
EntityConverterTest::testRouteParamWithBundleDefinition in core/tests/Drupal/KernelTests/Core/ParamConverter/EntityConverterTest.php
Tests an entity route parameter having 'bundle' definition property.

File

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

View source
  1. class: Drupal\Core\ParamConverter\EntityConverter
  2. tags:
  3. - { name: paramconverter }
  4. arguments:
  5. - '@entity_type.manager'
  6. - '@entity.repository'