HtmlEscapedText::count

public HtmlEscapedText::count()

File

core/lib/Drupal/Component/Render/HtmlEscapedText.php, line 45

Class

HtmlEscapedText
Escapes HTML syntax characters to HTML entities for display in markup.

Namespace

Drupal\Component\Render

Code

public function count() {
  return Unicode::strlen($this->string);
}
doc_Drupal
2016-10-29 09:18:46
Comments
Leave a Comment

Please login to continue.