public function SendinblueBlock::build in SendinBlue 8
Same name and namespace in other branches
- 8.2 src/Plugin/Block/SendinblueBlock.php \Drupal\sendinblue\Plugin\Block\SendinblueBlock::build()
Build the content for mymodule block.
Overrides BlockPluginInterface::build
File
- src/
Plugin/ Block/ SendinblueBlock.php, line 51
Class
- SendinblueBlock
- Display all instances for 'YourBlock' block plugin.
Namespace
Drupal\sendinblue\Plugin\BlockCode
public function build() {
$getPluginDefinition = $this
->getPluginDefinition();
return $this->formBuilder
->getForm(SubscribeForm::class, $getPluginDefinition['mcsId']);
}