interface TimelineMediaInterface in Views TimelineJS integration 7.3
Provides an interface for defining TimelineJS3 media objects.
Hierarchy
- interface \TimelineObjectInterface
- interface \TimelineMediaInterface
Expanded class hierarchy of TimelineMediaInterface
All classes that implement TimelineMediaInterface
File
- src/
TimelineMediaInterface.php, line 6
View source
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);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TimelineMediaInterface:: |
public | function | Sets the caption for this media. | 1 |
TimelineMediaInterface:: |
public | function | Sets the credit for this media. | 1 |
TimelineMediaInterface:: |
public | function | Sets the thumbnail image URL for this media. | 1 |
TimelineObjectInterface:: |
public | function | Creates an array representing the TimelineJS javascript object. | 7 |