You are here

public function StringStorageInterface::save in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/locale/src/StringStorageInterface.php \Drupal\locale\StringStorageInterface::save()

Save string object to 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.

1 method overrides StringStorageInterface::save()
StringDatabaseStorage::save in core/modules/locale/src/StringDatabaseStorage.php
Save string object to storage.

File

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

Class

StringStorageInterface
Defines the locale string storage interface.

Namespace

Drupal\locale

Code

public function save($string);