You are here

protected function DevelDumperBase::setSafeMarkup in Devel 8.2

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. 4.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.

7 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.
DrupalVariable::export in src/Plugin/Devel/Dumper/DrupalVariable.php
Returns a string representation of a variable.
Kint::export in kint/src/Plugin/Devel/Dumper/Kint.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);
}