class TestInvalidController
Same name and namespace in other branches
- main core/modules/system/tests/modules/router_test_directory/src/Controller/TestInvalidController.php \Drupal\router_test\Controller\TestInvalidController
A structurally invalid controller that cannot be autoloaded.
Hierarchy
- class \Drupal\router_test\Controller\TestInvalidController
Expanded class hierarchy of TestInvalidController
File
-
core/
modules/ system/ tests/ modules/ router_test_directory/ src/ Controller/ TestInvalidController.php, line 10
Namespace
Drupal\router_test\ControllerView source
class TestInvalidController {
/**
* An abstract method, which is not allowed on a non-abstract class.
*
* @return array
* A render array.
*/
abstract public function build() : array;
}
Members
| Title Sort descending | Modifiers | Object type | Summary |
|---|---|---|---|
| TestInvalidController::build | abstract public | function | An abstract method, which is not allowed on a non-abstract class. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.