TranslationString::isNew

public 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\locale

Code

public function isNew() {
  return $this->isNew;
}
doc_Drupal
2016-10-29 09:49:26
Comments
Leave a Comment

Please login to continue.