You are here

public function DumperTestController::export in Devel 8

Same name and namespace in other branches
  1. 8.3 tests/modules/devel_dumper_test/src/Controller/DumperTestController.php \Drupal\devel_dumper_test\Controller\DumperTestController::export()
  2. 8.2 tests/modules/devel_dumper_test/src/Controller/DumperTestController.php \Drupal\devel_dumper_test\Controller\DumperTestController::export()
  3. 4.x tests/modules/devel_dumper_test/src/Controller/DumperTestController.php \Drupal\devel_dumper_test\Controller\DumperTestController::export()

Return value

array

1 string reference to 'DumperTestController::export'
devel_dumper_test.routing.yml in tests/modules/devel_dumper_test/devel_dumper_test.routing.yml
tests/modules/devel_dumper_test/devel_dumper_test.routing.yml

File

tests/modules/devel_dumper_test/src/Controller/DumperTestController.php, line 76

Class

DumperTestController
Class DumperTestController

Namespace

Drupal\devel_dumper_test\Controller

Code

public function export() {
  return [
    '#markup' => $this->dumper
      ->export('Test output'),
  ];
}