public function FormsDataCollector::__construct in Devel 8.3
Same name and namespace in other branches
- 8 webprofiler/src/DataCollector/FormsDataCollector.php \Drupal\webprofiler\DataCollector\FormsDataCollector::__construct()
- 8.2 webprofiler/src/DataCollector/FormsDataCollector.php \Drupal\webprofiler\DataCollector\FormsDataCollector::__construct()
- 4.x webprofiler/src/DataCollector/FormsDataCollector.php \Drupal\webprofiler\DataCollector\FormsDataCollector::__construct()
Parameters
\Drupal\Core\Form\FormBuilderInterface $formBuilder:
File
- webprofiler/
src/ DataCollector/ FormsDataCollector.php, line 28
Class
- FormsDataCollector
- Class FormsDataCollector.
Namespace
Drupal\webprofiler\DataCollectorCode
public function __construct(FormBuilderInterface $formBuilder) {
$this->formBuilder = $formBuilder;
$this->data['forms'] = [];
}