function DumperTestController::export
Same name in other branches
- 8.x-1.x tests/modules/devel_dumper_test/src/Controller/DumperTestController.php \Drupal\devel_dumper_test\Controller\DumperTestController::export()
- 5.x tests/modules/devel_dumper_test/src/Controller/DumperTestController.php \Drupal\devel_dumper_test\Controller\DumperTestController::export()
Returns the export output to test.
Return value
array The render array output.
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 90
Class
- DumperTestController
- Class DumperTestController.
Namespace
Drupal\devel_dumper_test\ControllerCode
public function export() {
return [
'#markup' => $this->dumper
->export('Test output'),
];
}