You are here

public function Timeline::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.

Overrides TimelineInterface::getEras

File

src/TimelineJS/Timeline.php, line 76

Class

Timeline
Defines a TimelineJS3 timeline.

Namespace

Drupal\views_timelinejs\TimelineJS

Code

public function getEras() {
  return $this->eras;
}