public function NotAvailableTestDumper::dump in Devel 8
Same name and namespace in other branches
- 8.3 tests/modules/devel_dumper_test/src/Plugin/Devel/Dumper/NotAvailableTestDumper.php \Drupal\devel_dumper_test\Plugin\Devel\Dumper\NotAvailableTestDumper::dump()
- 8.2 tests/modules/devel_dumper_test/src/Plugin/Devel/Dumper/NotAvailableTestDumper.php \Drupal\devel_dumper_test\Plugin\Devel\Dumper\NotAvailableTestDumper::dump()
- 4.x tests/modules/devel_dumper_test/src/Plugin/Devel/Dumper/NotAvailableTestDumper.php \Drupal\devel_dumper_test\Plugin\Devel\Dumper\NotAvailableTestDumper::dump()
Dumps information about a variable.
Parameters
mixed $input: The variable to dump.
string $name: (optional) The label to output before variable, defaults to NULL.
Overrides DevelDumperBase::dump
File
- tests/
modules/ devel_dumper_test/ src/ Plugin/ Devel/ Dumper/ NotAvailableTestDumper.php, line 21
Class
- NotAvailableTestDumper
- Provides a NotAvailableTestDumper plugin.
Namespace
Drupal\devel_dumper_test\Plugin\Devel\DumperCode
public function dump($input, $name = NULL) {
$input = '<pre>' . $input . '</pre>';
echo $input;
}