You are here

public function GroupSelectorWidget::__construct in Opigno calendar event 8

Same name and namespace in other branches
  1. 3.x modules/opigno_calendar_event_group/src/GroupSelectorWidget.php \Drupal\opigno_calendar_event_group\GroupSelectorWidget::__construct()

GroupSelectorWidget constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\opigno_calendar_event\CalendarEventManager $calendar_event_manager: The calendar event manager.

File

modules/opigno_calendar_event_group/src/GroupSelectorWidget.php, line 49

Class

GroupSelectorWidget
Provides a widget to select calendar event groups.

Namespace

Drupal\opigno_calendar_event_group

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, CalendarEventManager $calendar_event_manager) {
  $this->entityTypeManager = $entity_type_manager;
  $this->calendarEventManager = $calendar_event_manager;
}