function BasicControllerClass::exampleControllerWithEntityUnionType

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

File

core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php, line 532

Class

BasicControllerClass
A class containing all kind of different controller methods.

Namespace

Drupal\Tests\Core\Entity

Code

public function exampleControllerWithEntityUnionType(EntityTest|EntityTestRev $entity_test) : void {
}

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