You are here

public function ViewsEmbedDialog::__construct in Views entity embed 8

Same name and namespace in other branches
  1. 2.0.x src/Form/ViewsEmbedDialog.php \Drupal\views_entity_embed\Form\ViewsEmbedDialog::__construct()

File

src/Form/ViewsEmbedDialog.php, line 57

Class

ViewsEmbedDialog
Provides a form to embed URLs.

Namespace

Drupal\views_entity_embed\Form

Code

public function __construct(FormBuilderInterface $form_builder, ModuleHandlerInterface $module_handler) {
  $this->formBuilder = $form_builder;
  $this->moduleHandler = $module_handler;
}