You are here

public function ThemeDataCollector::getBlockCount in Devel 4.x

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

Return value

mixed

1 call to ThemeDataCollector::getBlockCount()
ThemeDataCollector::getData in webprofiler/src/DataCollector/ThemeDataCollector.php

File

webprofiler/src/DataCollector/ThemeDataCollector.php, line 125

Class

ThemeDataCollector
Class ThemeDataCollector.

Namespace

Drupal\webprofiler\DataCollector

Code

public function getBlockCount() {
  return $this
    ->getComputedData('block_count');
}