public function SlideInterface::setMedia in Views TimelineJS integration 8.3
Sets the media for this slide.
Parameters
\Drupal\views_timelinejs\TimelineJS\MediaInterface $media: The media object.
1 method overrides SlideInterface::setMedia()
- Slide::setMedia in src/
TimelineJS/ Slide.php - Sets the media for this slide.
File
- src/
TimelineJS/ SlideInterface.php, line 16
Class
- SlideInterface
- Provides an interface for defining TimelineJS3 slides.
Namespace
Drupal\views_timelinejs\TimelineJSCode
public function setMedia(MediaInterface $media);