You are here

public function GeneratedLink::count in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/GeneratedLink.php \Drupal\Core\GeneratedLink::count()

File

core/lib/Drupal/Core/GeneratedLink.php, line 68
Contains \Drupal\Core\GeneratedLink.

Class

GeneratedLink
Used to return generated links, along with associated cacheability metadata.

Namespace

Drupal\Core

Code

public function count() {
  return Unicode::strlen($this
    ->__toString());
}