You are here

public function DevelTestController::simplePage in Devel 8.2

Same name and namespace in other branches
  1. 8.3 tests/modules/devel_test/src/Controller/DevelTestController.php \Drupal\devel_test\Controller\DevelTestController::simplePage()
  2. 8 tests/modules/devel_test/src/Controller/DevelTestController.php \Drupal\devel_test\Controller\DevelTestController::simplePage()
  3. 4.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'),
  ];
}