You are here

public function Timeline::setTitleSlide in Views TimelineJS integration 8.3

Sets the timeline's title slide.

Parameters

\Drupal\views_timelinejs\TimelineJS\SlideInterface $slide: The new slide.

Overrides TimelineInterface::setTitleSlide

File

src/TimelineJS/Timeline.php, line 41

Class

Timeline
Defines a TimelineJS3 timeline.

Namespace

Drupal\views_timelinejs\TimelineJS

Code

public function setTitleSlide(SlideInterface $slide) {
  $this->titleSlide = $slide;
}