function DevelTestController::simplePage

Same name in other branches
  1. 5.x tests/modules/devel_test/src/Controller/DevelTestController.php \Drupal\devel_test\Controller\DevelTestController::simplePage()

Returns a simple page output.

Return value

array A render array.

1 string reference to 'DevelTestController::simplePage'
devel_test.routing.yml in tests/modules/devel_test/devel_test.routing.yml
tests/modules/devel_test/devel_test.routing.yml

File

tests/modules/devel_test/src/Controller/DevelTestController.php, line 18

Class

DevelTestController
Returns responses for devel module routes.

Namespace

Drupal\devel_test\Controller

Code

public function simplePage() {
    return [
        '#markup' => $this->t('Simple page'),
    ];
}