StringBase::setStorage

public StringBase::setStorage($storage)

Sets the string storage.

Parameters

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

Return value

$this

Overrides StringInterface::setStorage

File

core/modules/locale/src/StringBase.php, line 119

Class

StringBase
Defines the locale string base class.

Namespace

Drupal\locale

Code

public function setStorage($storage) {
  $this->storage = $storage;
  return $this;
}
doc_Drupal
2016-10-29 09:45:03
Comments
Leave a Comment

Please login to continue.