You are here

interface TimelineSlideInterface in Views TimelineJS integration 7.3

Provides an interface for defining TimelineJS3 slides.

Hierarchy

Expanded class hierarchy of TimelineSlideInterface

All classes that implement TimelineSlideInterface

File

src/TimelineSlideInterface.php, line 6

View source
interface TimelineSlideInterface extends TimelineObjectInterface {

  /**
   * Sets the media for this slide.
   *
   * @param TimelineMediaInterface $media
   *   The media object.
   */
  public function setMedia(TimelineMediaInterface $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 TimelineBackgroundInterface $backgound
   *   The background object.
   */
  public function setBackground(TimelineBackgroundInterface $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();

}

Members

Namesort descending Modifiers Type Description Overrides
TimelineObjectInterface::buildArray public function Creates an array representing the TimelineJS javascript object. 7
TimelineSlideInterface::disableAutolink public function Sets the slide's autolink property to FALSE. 1
TimelineSlideInterface::enableAutolink public function Sets the slide's autolink property to TRUE. 1
TimelineSlideInterface::setBackground public function Sets the background for this slide. 1
TimelineSlideInterface::setDisplayDate public function Sets the display date for this slide. 1
TimelineSlideInterface::setGroup public function Sets the group for this slide. 1
TimelineSlideInterface::setMedia public function Sets the media for this slide. 1
TimelineSlideInterface::setUniqueId public function Sets the unique ID for this slide. 1