function StringInterface::save

Same name in other branches
  1. 8.9.x core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::save()
  2. 10 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::save()
  3. 11.x core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::save()

Saves string object to storage.

Return value

$this

Throws

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

1 method overrides StringInterface::save()
StringBase::save in core/modules/locale/src/StringBase.php
Saves string object to storage.

File

core/modules/locale/src/StringInterface.php, line 205

Class

StringInterface
Defines the locale string interface.

Namespace

Drupal\locale

Code

public function save();

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