protected function DevelDumperBase::setSafeMarkup in Devel 8
Same name and namespace in other branches
- 8.3 src/DevelDumperBase.php \Drupal\devel\DevelDumperBase::setSafeMarkup()
- 8.2 src/DevelDumperBase.php \Drupal\devel\DevelDumperBase::setSafeMarkup()
- 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.
File
- src/
DevelDumperBase.php, line 41
Class
- DevelDumperBase
- Defines a base devel dumper implementation.
Namespace
Drupal\develCode
protected function setSafeMarkup($input) {
return FilteredMarkup::create($input);
}