protected function BlockBase::transliteration in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Block/BlockBase.php \Drupal\Core\Block\BlockBase::transliteration()
Wraps the transliteration service.
Return value
\Drupal\Component\Transliteration\TransliterationInterface
File
- core/
lib/ Drupal/ Core/ Block/ BlockBase.php, line 262 - Contains \Drupal\Core\Block\BlockBase.
Class
- BlockBase
- Defines a base block implementation that most blocks plugins will extend.
Namespace
Drupal\Core\BlockCode
protected function transliteration() {
if (!$this->transliteration) {
$this->transliteration = \Drupal::transliteration();
}
return $this->transliteration;
}