public function TranslationString::isTranslation in Drupal 10
Same name and namespace in other branches
- 8 core/modules/locale/src/TranslationString.php \Drupal\locale\TranslationString::isTranslation()
- 9 core/modules/locale/src/TranslationString.php \Drupal\locale\TranslationString::isTranslation()
File
- core/
modules/ locale/ src/ TranslationString.php, line 79
Class
- TranslationString
- Defines the locale translation string object.
Namespace
Drupal\localeCode
public function isTranslation() {
return !empty($this->lid) && !empty($this->language) && isset($this->translation);
}