You are here

public function SendinblueBlock::__construct in SendinBlue 8

Same name in this branch
  1. 8 src/Plugin/Derivative/SendinblueBlock.php \Drupal\sendinblue\Plugin\Derivative\SendinblueBlock::__construct()
  2. 8 src/Plugin/Block/SendinblueBlock.php \Drupal\sendinblue\Plugin\Block\SendinblueBlock::__construct()
Same name and namespace in other branches
  1. 8.2 src/Plugin/Block/SendinblueBlock.php \Drupal\sendinblue\Plugin\Block\SendinblueBlock::__construct()

Overrides BlockPluginTrait::__construct

File

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

Class

SendinblueBlock
Display all instances for 'YourBlock' block plugin.

Namespace

Drupal\sendinblue\Plugin\Block

Code

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