You are here

public function VIBlock::__construct in Visually Impaired Support (module) 8

Overrides BlockPluginTrait::__construct

File

src/Plugin/Block/VIBlock.php, line 31

Class

VIBlock
Provides a 'Visually Impaired' Block.

Namespace

Drupal\visually_impaired_module\Plugin\Block

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, FormBuilderInterface $form_builder) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->formBuilder = $form_builder;
}