You are here

public function Timeline::getEvents in Views TimelineJS integration 8.3

Returns the timeline's array of event slides.

Return value

\Drupal\views_timelinejs\TimelineJS\SlideInterface[] An array of slides.

Overrides TimelineInterface::getEvents

File

src/TimelineJS/Timeline.php, line 62

Class

Timeline
Defines a TimelineJS3 timeline.

Namespace

Drupal\views_timelinejs\TimelineJS

Code

public function getEvents() {
  return $this->events;
}