You are here

public function FormsDataCollector::getFormsCount in Devel 4.x

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

Return value

int

1 call to FormsDataCollector::getFormsCount()
FormsDataCollector::getPanelSummary in webprofiler/src/DataCollector/FormsDataCollector.php
Returns the string used in vertical tab summary.

File

webprofiler/src/DataCollector/FormsDataCollector.php, line 55

Class

FormsDataCollector
Class FormsDataCollector.

Namespace

Drupal\webprofiler\DataCollector

Code

public function getFormsCount() {
  return count($this
    ->getForms());
}