You are here

public function CalendarEventManager::getEmbeddedDisplay in Opigno calendar event 8

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

Returns the embedded display.

Return value

\Drupal\opigno_calendar_event\CalendarEventEmbeddedDisplay An instance of the embedded display.

File

src/CalendarEventManager.php, line 251

Class

CalendarEventManager
The calendar event manager.

Namespace

Drupal\opigno_calendar_event

Code

public function getEmbeddedDisplay() {
  if (!isset($this->embeddedDisplay)) {
    $this->embeddedDisplay = new CalendarEventEmbeddedDisplay($this->entityTypeManager);
  }
  return $this->embeddedDisplay;
}