SlideInterface.php in Views TimelineJS integration 8.3
Namespace
Drupal\views_timelinejs\TimelineJSFile
src/TimelineJS/SlideInterface.phpView source
<?php
namespace Drupal\views_timelinejs\TimelineJS;
/**
* Provides an interface for defining TimelineJS3 slides.
*/
interface SlideInterface extends ObjectInterface {
/**
* Sets the media for this slide.
*
* @param \Drupal\views_timelinejs\TimelineJS\MediaInterface $media
* The media object.
*/
public function setMedia(MediaInterface $media);
/**
* Sets the group for this slide.
*
* @param string $group
* The group name.
*/
public function setGroup($group);
/**
* Sets the display date for this slide.
*
* @param string $display_date
* The display date.
*/
public function setDisplayDate($display_date);
/**
* Sets the background for this slide.
*
* @param \Drupal\views_timelinejs\TimelineJS\BackgroundInterface $backgound
* The background object.
*/
public function setBackground(BackgroundInterface $backgound);
/**
* Sets the unique ID for this slide.
*
* @param int|string $id
* The unique ID.
*/
public function setUniqueId($id);
/**
* Sets the slide's autolink property to TRUE.
*/
public function enableAutolink();
/**
* Sets the slide's autolink property to FALSE.
*/
public function disableAutolink();
}
Interfaces
Name | Description |
---|---|
SlideInterface | Provides an interface for defining TimelineJS3 slides. |