StringInterface::setVersion

public StringInterface::setVersion($version) Sets the string version. Parameters string $version: Version identifier. Return value $this File core/modules/locale/src/StringInterface.php, line 44 Class StringInterface Defines the locale string interface. Namespace Drupal\locale Code public function setVersion($version);

StringInterface::save

public StringInterface::save() Saves string object to storage. Return value $this Throws \Drupal\locale\StringStorageException In case of failures, an exception is thrown. File core/modules/locale/src/StringInterface.php, line 204 Class StringInterface Defines the locale string interface. Namespace Drupal\locale Code public function save();

StringInterface::isSource

public StringInterface::isSource() Checks whether the object is a source string. Return value bool TRUE if the object is a source string, FALSE otherwise. File core/modules/locale/src/StringInterface.php, line 116 Class StringInterface Defines the locale string interface. Namespace Drupal\locale Code public function isSource();

StringInterface::isTranslation

public StringInterface::isTranslation() Checks whether the object is a translation string. Return value bool TRUE if the object is a translation string, FALSE otherwise. File core/modules/locale/src/StringInterface.php, line 124 Class StringInterface Defines the locale string interface. Namespace Drupal\locale Code public function isTranslation();

StringInterface::setPlurals

public StringInterface::setPlurals($plurals) Sets this string using array of plural values. Serializes plural variants in one string glued by LOCALE_PLURAL_DELIMITER. Parameters array $plurals: Array of strings with plural variants. Return value $this File core/modules/locale/src/StringInterface.php, line 82 Class StringInterface Defines the locale string interface. Namespace Drupal\locale Code public function setPlurals($plurals);

StringInterface::isNew

public StringInterface::isNew() Checks whether the object is not saved to storage yet. Return value bool TRUE if the object exists in the storage, FALSE otherwise. File core/modules/locale/src/StringInterface.php, line 108 Class StringInterface Defines the locale string interface. Namespace Drupal\locale Code public function isNew();

StringInterface::setId

public StringInterface::setId($id) Sets the string unique identifier. Parameters int $id: The string identifier. Return value $this File core/modules/locale/src/StringInterface.php, line 26 Class StringInterface Defines the locale string interface. Namespace Drupal\locale Code public function setId($id);

StringInterface::getStorage

public StringInterface::getStorage() Gets the string storage. Return value \Drupal\locale\StringStorageInterface The storage used for this string. File core/modules/locale/src/StringInterface.php, line 90 Class StringInterface Defines the locale string interface. Namespace Drupal\locale Code public function getStorage();

StringInterface::getVersion

public StringInterface::getVersion() Gets the string version. Return value string Version identifier. File core/modules/locale/src/StringInterface.php, line 34 Class StringInterface Defines the locale string interface. Namespace Drupal\locale Code public function getVersion();

StringInterface::hasLocation

public StringInterface::hasLocation($type, $name) Checks whether the string has a given location. Parameters string $type: Location type. string $name: Location name. Return value bool TRUE if the string has a location with this type and name. File core/modules/locale/src/StringInterface.php, line 194 Class StringInterface Defines the locale string interface. Namespace Drupal\locale Code public function hasLocation($type, $name);