You are here

public function StringInterface::setStorage in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::setStorage()

Sets the string storage.

Parameters

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

Return value

$this

1 method overrides StringInterface::setStorage()
StringBase::setStorage in core/modules/locale/src/StringBase.php
Sets the string storage.

File

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

Class

StringInterface
Defines the locale string interface.

Namespace

Drupal\locale

Code

public function setStorage($storage);