You are here

public function BasicControllerClass::exampleControllerWithEntityUpcasting in Zircon Profile 8

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

File

core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php, line 428
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) {
}