You are here

public function ProfilerStorageManager::getStorages in Devel 8.3

Same name and namespace in other branches
  1. 8 webprofiler/src/Profiler/ProfilerStorageManager.php \Drupal\webprofiler\Profiler\ProfilerStorageManager::getStorages()
  2. 8.2 webprofiler/src/Profiler/ProfilerStorageManager.php \Drupal\webprofiler\Profiler\ProfilerStorageManager::getStorages()
  3. 4.x webprofiler/src/Profiler/ProfilerStorageManager.php \Drupal\webprofiler\Profiler\ProfilerStorageManager::getStorages()

Return value

array

File

webprofiler/src/Profiler/ProfilerStorageManager.php, line 20

Class

ProfilerStorageManager
Class ProfilerStorageManager.

Namespace

Drupal\webprofiler\Profiler

Code

public function getStorages() {
  $output = [];

  /** @var \Symfony\Component\HttpKernel\Profiler\ProfilerStorageInterface $storage */
  foreach ($this->storages as $id => $storage) {
    $output[$id] = $storage['title'];
  }
  return $output;
}