You are here

public function StorageItem::__construct in Express 8

Overrides StorageBase::__construct

File

themes/contrib/bootstrap/src/Utility/StorageItem.php, line 43
Contains \Drupal\bootstrap\Utility\StorageItem.

Class

StorageItem
Theme Storage Item.

Namespace

Drupal\bootstrap\Utility

Code

public function __construct($data, Storage $storage) {
  $this->storage = $storage;
  $this
    ->setMultiple($data);
  $this->initialized = TRUE;
}