function FormsDataCollector::getForms

Return value

array

1 call to FormsDataCollector::getForms()
FormsDataCollector::getFormsCount in webprofiler/src/DataCollector/FormsDataCollector.php

File

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

Class

FormsDataCollector
Class FormsDataCollector

Namespace

Drupal\webprofiler\DataCollector

Code

public function getForms() {
    return !empty($this->data['forms']) && is_array($this->data['forms']) ? $this->data['forms'] : [];
}