You are here

public function BasicControllerClass::exampleControllerWithEntityUpcasting in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\BasicControllerClass::exampleControllerWithEntityUpcasting()

File

core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php, line 495
Contains \Drupal\Tests\Core\Entity\EntityResolverManagerTest.

Class

BasicControllerClass
A class containing all kind of different controller methods.

Namespace

Drupal\Tests\Core\Entity

Code

public function exampleControllerWithEntityUpcasting(EntityInterface $entity_test) {
}