You are here

public function Slide::setBackground in Views TimelineJS integration 8.3

Sets the background for this slide.

Parameters

\Drupal\views_timelinejs\TimelineJS\BackgroundInterface $backgound: The background object.

Overrides SlideInterface::setBackground

File

src/TimelineJS/Slide.php, line 117

Class

Slide
Defines a TimelineJS3 slide.

Namespace

Drupal\views_timelinejs\TimelineJS

Code

public function setBackground(BackgroundInterface $backgound) {
  $this->background = $backgound;
}