You are here

public function CalendarEventEmbeddedDisplay::__construct in Opigno calendar event 8

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

CalendarEventManager constructor.

Parameters

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

File

src/CalendarEventEmbeddedDisplay.php, line 36

Class

CalendarEventEmbeddedDisplay
Provides a display to attach a calendar event to an entity.

Namespace

Drupal\opigno_calendar_event

Code

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