You are here

public function StringInterface::setStorage in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 105
Contains \Drupal\locale\StringInterface.

Class

StringInterface
Defines the locale string interface.

Namespace

Drupal\locale

Code

public function setStorage($storage);