public function FormsDataCollector::getForms in Devel 4.x
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/FormsDataCollector.php \Drupal\webprofiler\DataCollector\FormsDataCollector::getForms()
- 8 webprofiler/src/DataCollector/FormsDataCollector.php \Drupal\webprofiler\DataCollector\FormsDataCollector::getForms()
- 8.2 webprofiler/src/DataCollector/FormsDataCollector.php \Drupal\webprofiler\DataCollector\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 48
Class
- FormsDataCollector
- Class FormsDataCollector.
Namespace
Drupal\webprofiler\DataCollectorCode
public function getForms() {
return !empty($this->data['forms']) && is_array($this->data['forms']) ? $this->data['forms'] : [];
}