You are here

public function LogintobogganLoginBlock::__construct in LoginToboggan 8

Class constructor.

Parameters

array $configuration: Config service.

string $plugin_id: Plugin ID.

mixed $plugin_definition: Plugin definition.

\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder.

Overrides BlockPluginTrait::__construct

File

src/Plugin/Block/LogintobogganLoginBlock.php, line 45

Class

LogintobogganLoginBlock
Provides a 'LoginToboggan login' block.

Namespace

Drupal\logintoboggan\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;
}