function BasicControllerClass::exampleControllerWithEntityUpcasting

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\BasicControllerClass::exampleControllerWithEntityUpcasting()
  2. 10 core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\BasicControllerClass::exampleControllerWithEntityUpcasting()
  3. 11.x 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

Class

BasicControllerClass
A class containing all kind of different controller methods.

Namespace

Drupal\Tests\Core\Entity

Code

public function exampleControllerWithEntityUpcasting(EntityInterface $entity_test) {
}

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