public function ProfilerStorageManager::getStorages in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Profiler/ProfilerStorageManager.php \Drupal\webprofiler\Profiler\ProfilerStorageManager::getStorages()
- 8.2 webprofiler/src/Profiler/ProfilerStorageManager.php \Drupal\webprofiler\Profiler\ProfilerStorageManager::getStorages()
- 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\ProfilerCode
public function getStorages() {
$output = [];
/** @var \Symfony\Component\HttpKernel\Profiler\ProfilerStorageInterface $storage */
foreach ($this->storages as $id => $storage) {
$output[$id] = $storage['title'];
}
return $output;
}