public function StringInterface::setStorage

Sets the string storage.

Parameters

Drupal\locale\StringStorageInterface $storage: The storage to use for this string.

Return value

Drupal\locale\LocaleString The called object.

1 method overrides StringInterface::setStorage()
StringBase::setStorage in drupal/core/modules/locale/lib/Drupal/locale/StringBase.php
Implements Drupal\locale\StringInterface::setStorage().

File

drupal/core/modules/locale/lib/Drupal/locale/StringInterface.php, line 110
Definition of Drupal\locale\StringInterface.

Class

StringInterface
Defines the locale string interface.

Namespace

Drupal\locale

Code

public function setStorage($storage);