public function DumperTestController::dump in Devel 8
Same name and namespace in other branches
- 8.3 tests/modules/devel_dumper_test/src/Controller/DumperTestController.php \Drupal\devel_dumper_test\Controller\DumperTestController::dump()
- 8.2 tests/modules/devel_dumper_test/src/Controller/DumperTestController.php \Drupal\devel_dumper_test\Controller\DumperTestController::dump()
- 4.x tests/modules/devel_dumper_test/src/Controller/DumperTestController.php \Drupal\devel_dumper_test\Controller\DumperTestController::dump()
Return value
array
1 string reference to 'DumperTestController::dump'
- 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 43
Class
- DumperTestController
- Class DumperTestController
Namespace
Drupal\devel_dumper_test\ControllerCode
public function dump() {
$this->dumper
->dump('Test output');
return [
'#markup' => 'test',
];
}