Saves string object to storage.
Return value
Drupal\locale\LocaleString
The called object.
Throws
Drupal\locale\StringStorageException
In case of failures, an exception is thrown.
File
- drupal/core/modules/locale/lib/Drupal/locale/StringInterface.php, line 217
- Definition of Drupal\locale\StringInterface.
Class
- StringInterface
- Defines the locale string interface.
Namespace
Drupal\locale
Code
public function save();