public function StringStorageInterface::delete

Delete string from storage.

Parameters

\Drupal\locale\StringInterface $string: The string object.

Return value

\Drupal\locale\StringStorageInterface The called object.

Throws

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

1 method overrides StringStorageInterface::delete()
StringDatabaseStorage::delete in drupal/core/modules/locale/lib/Drupal/locale/StringDatabaseStorage.php
Implements Drupal\locale\StringStorageInterface::delete().

File

drupal/core/modules/locale/lib/Drupal/locale/StringStorageInterface.php, line 129
Contains \Drupal\locale\StringStorageInterface.

Class

StringStorageInterface
Defines the locale string storage interface.

Namespace

Drupal\locale

Code

public function delete($string);