You are here

public function BlockBase::setTransliteration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Block/BlockBase.php \Drupal\Core\Block\BlockBase::setTransliteration()

Sets the transliteration service.

Parameters

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

File

core/lib/Drupal/Core/Block/BlockBase.php, line 275
Contains \Drupal\Core\Block\BlockBase.

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;
}