function RequiredContext::__construct

Same name in other branches
  1. 8.x-3.x src/Form/RequiredContext.php \Drupal\ctools\Form\RequiredContext::__construct()

Required Context Form constructor.

Parameters

\Drupal\Component\Plugin\PluginManagerInterface $typed_data_manager: The Typed Data Manager.

\Drupal\Core\Form\FormBuilderInterface $form_builder: The Form Builder.

File

src/Form/RequiredContext.php, line 54

Class

RequiredContext
Required Context Form.

Namespace

Drupal\ctools\Form

Code

public function __construct(PluginManagerInterface $typed_data_manager, FormBuilderInterface $form_builder) {
    $this->typedDataManager = $typed_data_manager;
    $this->formBuilder = $form_builder;
}