function DevelDumperBase::setSafeMarkup

Same name in other branches
  1. 5.x src/DevelDumperBase.php \Drupal\devel\DevelDumperBase::setSafeMarkup()

Wrapper for \Drupal\Core\Render\Markup::create().

Parameters

string $input: The input string to mark as safe.

Return value

string The unaltered input value.

6 calls to DevelDumperBase::setSafeMarkup()
AvailableTestDumper::export in tests/modules/devel_dumper_test/src/Plugin/Devel/Dumper/AvailableTestDumper.php
Returns a string representation of a variable.
AvailableTestDumper::exportAsRenderable in tests/modules/devel_dumper_test/src/Plugin/Devel/Dumper/AvailableTestDumper.php
Returns a string representation of a variable wrapped in a render array.
DoctrineDebug::export in src/Plugin/Devel/Dumper/DoctrineDebug.php
Returns a string representation of a variable.
Kint::export in src/Plugin/Devel/Dumper/Kint.php
Returns a string representation of a variable.
NotAvailableTestDumper::export in tests/modules/devel_dumper_test/src/Plugin/Devel/Dumper/NotAvailableTestDumper.php
Returns a string representation of a variable.

... See full list

File

src/DevelDumperBase.php, line 42

Class

DevelDumperBase
Defines a base devel dumper implementation.

Namespace

Drupal\devel

Code

protected function setSafeMarkup($input) {
    return FilteredMarkup::create($input);
}