BlockBase::transliteration

protected BlockBase::transliteration()

Wraps the transliteration service.

Return value

\Drupal\Component\Transliteration\TransliterationInterface

File

core/lib/Drupal/Core/Block/BlockBase.php, line 260

Class

BlockBase
Defines a base block implementation that most blocks plugins will extend.

Namespace

Drupal\Core\Block

Code

protected function transliteration() {
  if (!$this->transliteration) {
    $this->transliteration = \Drupal::transliteration();
  }
  return $this->transliteration;
}
doc_Drupal
2016-10-29 08:46:37
Comments
Leave a Comment

Please login to continue.