public function TranslationString::isNew in Drupal 8
Same name and namespace in other branches
- 9 core/modules/locale/src/TranslationString.php \Drupal\locale\TranslationString::isNew()
- 10 core/modules/locale/src/TranslationString.php \Drupal\locale\TranslationString::isNew()
Checks whether the object is not saved to storage yet.
Return value
bool TRUE if the object exists in the storage, FALSE otherwise.
Overrides StringInterface::isNew
File
- core/
modules/ locale/ src/ TranslationString.php, line 101
Class
- TranslationString
- Defines the locale translation string object.
Namespace
Drupal\localeCode
public function isNew() {
return $this->isNew;
}