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; }
Please login to continue.