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/Derivative/SendinblueBlock.php \Drupal\sendinblue\Plugin\Derivative\SendinblueBlock::__construct()

File

src/Plugin/Derivative/SendinblueBlock.php, line 37

Class

SendinblueBlock
Provides block plugin definitions for sendinblue blocks.

Namespace

Drupal\sendinblue\Plugin\Derivative

Code

public function __construct($blockName, EntityTypeManagerInterface $entityTypeManager) {
  $this->entityTypeManager = $entityTypeManager;
  $this->blockName = $blockName;
}