public function Term::__construct in FullCalendar 8.2
Same name and namespace in other branches
- 8.5 modules/fullcalendar_legend/src/Plugin/block/Term.php \Drupal\fullcalendar_legend\Plugin\Block\Term::__construct()
- 8 fullcalendar_legend/src/Plugin/block/Term.php \Drupal\fullcalendar_legend\Plugin\Block\Term::__construct()
- 8.3 fullcalendar_legend/src/Plugin/block/Term.php \Drupal\fullcalendar_legend\Plugin\Block\Term::__construct()
- 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\BlockCode
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;
}