You are here

public function Term::__construct in FullCalendar 8.3

Same name and namespace in other branches
  1. 8.5 modules/fullcalendar_legend/src/Plugin/block/Term.php \Drupal\fullcalendar_legend\Plugin\Block\Term::__construct()
  2. 8 fullcalendar_legend/src/Plugin/block/Term.php \Drupal\fullcalendar_legend\Plugin\Block\Term::__construct()
  3. 8.2 modules/fullcalendar_legend/src/Plugin/block/Term.php \Drupal\fullcalendar_legend\Plugin\Block\Term::__construct()
  4. 8.4 modules/fullcalendar_legend/src/Plugin/block/Term.php \Drupal\fullcalendar_legend\Plugin\Block\Term::__construct()

Overrides BlockPluginTrait::__construct

File

fullcalendar_legend/src/Plugin/block/Term.php, line 45
Contains \Drupal\fullcalendar_legend\Plugin\Block\Term.

Class

Term
TODO

Namespace

Drupal\fullcalendar_legend\Plugin\Block

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition, TermStorageInterface $term_storage, QueryFactory $entity_query, EntityManagerInterface $entity_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->termStorage = $term_storage;
  $this->entityQuery = $entity_query;
  $this->entityManager = $entity_manager;
}