You are here

public function TimelineInterface::getEras in Views TimelineJS integration 8.3

Returns the timeline's array of eras.

Return value

\Drupal\views_timelinejs\TimelineJS\EraInterface[] An array of eras.

1 method overrides TimelineInterface::getEras()
Timeline::getEras in src/TimelineJS/Timeline.php
Returns the timeline's array of eras.

File

src/TimelineJS/TimelineInterface.php, line 40

Class

TimelineInterface
Provides an interface for defining TimelineJS3 timelines.

Namespace

Drupal\views_timelinejs\TimelineJS

Code

public function getEras();