You are here

public function Term::__construct in FullCalendar 8.2

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.3 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

modules/fullcalendar_legend/src/Plugin/block/Term.php, line 42
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, EntityTypeManagerInterface $entity_type_manager, EntityFieldManagerInterface $entity_field_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->termStorage = $entity_type_manager
    ->getStorage('taxonomy_term');
  $this->entityTypeManager = $entity_type_manager;
  $this->entityFieldManager = $entity_field_manager;
}