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.

Hierarchy

See also

\Drupal\Core\Render\Markup

File

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

Namespace

Drupal\Core\Field

Members

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
doc_Drupal
2016-10-29 09:11:28
Comments
Leave a Comment

Please login to continue.