Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Markup.php

function Markup::count

Return value

int

File

vendor/twig/twig/src/Markup.php, line 43

Class

Markup
Marks a content as safe.

Namespace

Twig

Code

public function count() {
    return mb_strlen($this->content, $this->charset);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal