public function GeneratedLink::count in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/GeneratedLink.php \Drupal\Core\GeneratedLink::count()
- 10 core/lib/Drupal/Core/GeneratedLink.php \Drupal\Core\GeneratedLink::count()
File
- core/
lib/ Drupal/ Core/ GeneratedLink.php, line 67
Class
- GeneratedLink
- Used to return generated links, along with associated cacheability metadata.
Namespace
Drupal\CoreCode
public function count() {
return mb_strlen($this
->__toString());
}