public function TranslationString::delete

Implements Drupal\locale\StringInterface::delete().

Overrides StringBase::delete

File

drupal/core/modules/locale/lib/Drupal/locale/TranslationString.php, line 122
Definition of Drupal\locale\TranslationString.

Class

TranslationString
Defines the locale translation string object.

Namespace

Drupal\locale

Code

public function delete() {
  parent::delete();
  $this->is_new = TRUE;
  return $this;
}