You are here

class BasicControllerClass 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
  2. 10 core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\BasicControllerClass

A class containing all kind of different controller methods.

Hierarchy

Expanded class hierarchy of BasicControllerClass

File

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

Namespace

Drupal\Tests\Core\Entity
View source
class BasicControllerClass {
  public function exampleControllerMethod() {
  }
  public function exampleControllerMethodWithArgument($argument) {
  }
  public function exampleControllerWithEntityNoUpcasting($entity_test) {
  }
  public function exampleControllerWithEntityUpcasting(EntityInterface $entity_test) {
  }

}

Members