function public function Storage::getAll

8.x-3.x Storage.php public Storage::getAll($arrays = TRUE)

Class

Storage
Theme Storage.

Namespace

Drupal\bootstrap\Utility

Source src/Utility/Storage.php (line 138)

public function getAll($arrays = TRUE) {
  $data = $this->data;
  if ($arrays) {
    foreach ($data as $key => $value) {
      if ($value instanceof StorageItem) {
        $data[$key] = $value->getAll();
      }
    }
  }
  return $data;
}