paramconverter.entity

Same name in other branches
  1. 8.9.x core/core.services.yml \paramconverter.entity
  2. 10 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

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

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