function NotAvailableTestDumper::export
Same name in other branches
- 4.x tests/modules/devel_dumper_test/src/Plugin/Devel/Dumper/NotAvailableTestDumper.php \Drupal\devel_dumper_test\Plugin\Devel\Dumper\NotAvailableTestDumper::export()
Overrides DevelDumperInterface::export
File
-
tests/
modules/ devel_dumper_test/ src/ Plugin/ Devel/ Dumper/ NotAvailableTestDumper.php, line 30
Class
- NotAvailableTestDumper
- Provides a NotAvailableTestDumper plugin.
Namespace
Drupal\devel_dumper_test\Plugin\Devel\DumperCode
public function export(mixed $input, ?string $name = NULL) : MarkupInterface|string {
$input = '<pre>' . $input . '</pre>';
return $this->setSafeMarkup($input);
}