function StringStorageInterface::delete

Same name and namespace in other branches
  1. 9 core/modules/locale/src/StringStorageInterface.php \Drupal\locale\StringStorageInterface::delete()
  2. 8.9.x core/modules/locale/src/StringStorageInterface.php \Drupal\locale\StringStorageInterface::delete()
  3. 10 core/modules/locale/src/StringStorageInterface.php \Drupal\locale\StringStorageInterface::delete()

Delete string from storage.

Parameters

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

Return value

$this The called object.

Throws

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

File

core/modules/locale/src/StringStorageInterface.php, line 124

Class

StringStorageInterface
Defines the locale string storage interface.

Namespace

Drupal\locale

Code

public function delete($string);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.