BlockBase::setTransliteration

public BlockBase::setTransliteration(TransliterationInterface $transliteration)

Sets the transliteration service.

Parameters

\Drupal\Component\Transliteration\TransliterationInterface $transliteration: The transliteration service.

File

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

Class

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

Namespace

Drupal\Core\Block

Code

public function setTransliteration(TransliterationInterface $transliteration) {
  $this->transliteration = $transliteration;
}
doc_Drupal
2016-10-29 08:46:37
Comments
Leave a Comment

Please login to continue.