You are here

public function FormsDataCollector::__construct in Devel 8

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

Parameters

\Drupal\webprofiler\Form\FormBuilderWrapper $formBuilder:

File

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

Class

FormsDataCollector
Class FormsDataCollector

Namespace

Drupal\webprofiler\DataCollector

Code

public function __construct(FormBuilderWrapper $formBuilder) {
  $this->formBuilder = $formBuilder;
  $this->data['forms'] = [];
}