function BasicControllerClass::exampleControllerWithEntityUpcasting

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

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.