public function TranslatableSectionStorageInterface::getTranslationLanguage in Layout Builder Symmetric Translations 8
Gets the language of the translation if any.
Return value
\Drupal\Core\Language\LanguageInterface|null The translation language if the current layout is for a translation otherwise NULL.
1 method overrides TranslatableSectionStorageInterface::getTranslationLanguage()
- OverridesSectionStorage::getTranslationLanguage in src/
Plugin/ SectionStorage/ OverridesSectionStorage.php - Gets the language of the translation if any.
File
- src/
TranslatableSectionStorageInterface.php, line 56
Class
- TranslatableSectionStorageInterface
- Defines an interface for translatable section overrides.
Namespace
Drupal\layout_builder_stCode
public function getTranslationLanguage();