You are here

public function SendinblueBlock::build in SendinBlue 8.2

Same name and namespace in other branches
  1. 8 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\Block

Code

public function build() {
  $getPluginDefinition = $this
    ->getPluginDefinition();
  return $this->formBuilder
    ->getForm(SubscribeForm::class, $getPluginDefinition['mcsId']);
}