You are here

public function StringStorageInterface::delete in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/locale/src/StringStorageInterface.php \Drupal\locale\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 core/modules/locale/src/StringDatabaseStorage.php
Delete string from storage.

File

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

Class

StringStorageInterface
Defines the locale string storage interface.

Namespace

Drupal\locale

Code

public function delete($string);