class DevelTestController
Same name in other branches
- 4.x tests/modules/devel_test/src/Controller/DevelTestController.php \Drupal\devel_test\Controller\DevelTestController
- 5.x tests/modules/devel_test/src/Controller/DevelTestController.php \Drupal\devel_test\Controller\DevelTestController
Returns responses for devel module routes.
Hierarchy
- class \Drupal\devel_test\Controller\DevelTestController extends \Drupal\Core\Controller\ControllerBase
Expanded class hierarchy of DevelTestController
File
-
tests/
modules/ devel_test/ src/ Controller/ DevelTestController.php, line 10
Namespace
Drupal\devel_test\ControllerView source
class DevelTestController extends ControllerBase {
/**
* Returns a simple page output.
*
* @return array
* A render array.
*/
public function simplePage() {
return [
'#markup' => $this->t('Simple page'),
];
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
DevelTestController::simplePage | public | function | Returns a simple page output. |