You are here

public function BlocksDataCollector::getLoadedBlocks in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/DataCollector/BlocksDataCollector.php \Drupal\webprofiler\DataCollector\BlocksDataCollector::getLoadedBlocks()
  2. 8 webprofiler/src/DataCollector/BlocksDataCollector.php \Drupal\webprofiler\DataCollector\BlocksDataCollector::getLoadedBlocks()
  3. 8.2 webprofiler/src/DataCollector/BlocksDataCollector.php \Drupal\webprofiler\DataCollector\BlocksDataCollector::getLoadedBlocks()

Return value

array

1 call to BlocksDataCollector::getLoadedBlocks()
BlocksDataCollector::getLoadedBlocksCount in webprofiler/src/DataCollector/BlocksDataCollector.php

File

webprofiler/src/DataCollector/BlocksDataCollector.php, line 70

Class

BlocksDataCollector
Class BlocksDataCollector.

Namespace

Drupal\webprofiler\DataCollector

Code

public function getLoadedBlocks() {
  return $this->data['blocks']['loaded'];
}