You are here

public function ModerationDashboardAddLinks::__construct in Moderation Dashboard 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/Block/ModerationDashboardAddLinks.php \Drupal\moderation_dashboard\Plugin\Block\ModerationDashboardAddLinks::__construct()

Overrides BlockPluginTrait::__construct

File

src/Plugin/Block/ModerationDashboardAddLinks.php, line 32

Class

ModerationDashboardAddLinks
Provides the "Moderation Dashboard Add Links" block.

Namespace

Drupal\moderation_dashboard\Plugin\Block

Code

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