You are here

public function BlocksDataCollector::getLoadedBlocks in Devel 8.3

Same name and namespace in other branches
  1. 8 webprofiler/src/DataCollector/BlocksDataCollector.php \Drupal\webprofiler\DataCollector\BlocksDataCollector::getLoadedBlocks()
  2. 8.2 webprofiler/src/DataCollector/BlocksDataCollector.php \Drupal\webprofiler\DataCollector\BlocksDataCollector::getLoadedBlocks()
  3. 4.x 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'];
}