/Drupal 8

final class FieldFilteredMarkup

Defines an object that passes safe strings through the Field system.

This object filters the string using a very restrictive tag list when it is created.

@internal This object is marked as internal because it should only be used by the Field module and field-related plugins.


See also



core/lib/Drupal/Core/Field/FieldFilteredMarkup.php, line 22




Name Modifiers Type Description
FieldFilteredMarkup::allowedTags public static function Returns the allowed tag list.
FieldFilteredMarkup::create public static function Overrides \Drupal\Component\Render\MarkupTrait::create(). Overrides MarkupTrait::create
FieldFilteredMarkup::displayAllowedTags public static function Returns a human-readable list of allowed tags for display in help texts.
MarkupTrait::$string protected property The safe string.
MarkupTrait::count public function Returns the string length.
MarkupTrait::jsonSerialize public function Returns a representation of the object for use in JSON serialization.
MarkupTrait::__toString public function Returns the string version of the Markup object. Overrides MarkupInterface::__toString

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.