class BasicControllerClass

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

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


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