namespace Drupal\Core;
use Drupal\Component\Render\MarkupInterface;
-use Drupal\Component\Utility\Unicode;
use Drupal\Core\Render\BubbleableMetadata;
/**
* @return string
*/
public function getGeneratedLink() {
- return $this->generatedLink ;
+ return $this->generatedLink;
}
/**
* {@inheritdoc}
*/
public function count() {
- return Unicode::strlen($this->__toString());
+ return mb_strlen($this->__toString());
}
}