You are here

public function Timeline::getEras in Views TimelineJS integration 7.3

Returns the timeline's array of eras.

Return value

array An array of TimelineEraInterface objects.

Overrides TimelineInterface::getEras

File

src/Timeline.php, line 74

Class

Timeline
Defines a TimelineJS3 timeline.

Code

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