You are here

TimelineMediaInterface.php in Views TimelineJS integration 7.3

File

src/TimelineMediaInterface.php
View source
<?php

/**
 * Provides an interface for defining TimelineJS3 media objects.
 */
interface TimelineMediaInterface extends TimelineObjectInterface {

  /**
   * Sets the caption for this media.
   *
   * @param string $text
   *   The caption text.
   */
  public function setCaption($text);

  /**
   * Sets the credit for this media.
   *
   * @param string $text
   *   The credit text.
   */
  public function setCredit($text);

  /**
   * Sets the thumbnail image URL for this media.
   *
   * @param string $url
   *   The thumbnail image URL.
   */
  public function setThumbnail($url);

}

Interfaces

Namesort descending Description
TimelineMediaInterface Provides an interface for defining TimelineJS3 media objects.