MarkupTrait

Implements MarkupInterface and Countable for rendered objects.

Hierarchy

See also

\Drupal\Component\Render\MarkupInterface

File

core/lib/Drupal/Component/Render/MarkupTrait.php, line 12

Namespace

Drupal\Component\Render

Members

Name Modifiers Type Description
MarkupTrait::$string protected property The safe string.
MarkupTrait::count public function Returns the string length.
MarkupTrait::create public static function Creates a Markup object if necessary.
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:25:36
Comments
Leave a Comment

Please login to continue.