You are here

protected function DevelDumperBase::setSafeMarkup in Devel 4.x

Same name and namespace in other branches
  1. 8.3 src/DevelDumperBase.php \Drupal\devel\DevelDumperBase::setSafeMarkup()
  2. 8 src/DevelDumperBase.php \Drupal\devel\DevelDumperBase::setSafeMarkup()
  3. 8.2 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 41

Class

DevelDumperBase
Defines a base devel dumper implementation.

Namespace

Drupal\devel

Code

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