You are here

public function StringInterface::delete in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::delete()
  2. 9 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::delete()

Deletes string object from storage.

Return value

$this

Throws

\Drupal\locale\StringStorageException In case of failures, an exception is thrown.

File

core/modules/locale/src/StringInterface.php, line 215

Class

StringInterface
Defines the locale string interface.

Namespace

Drupal\locale

Code

public function delete();