MediaInterface.php in Views TimelineJS integration 8.3
Namespace
Drupal\views_timelinejs\TimelineJSFile
src/TimelineJS/MediaInterface.phpView source
<?php
namespace Drupal\views_timelinejs\TimelineJS;
/**
* Provides an interface for defining TimelineJS3 media objects.
*/
interface MediaInterface extends ObjectInterface {
/**
* 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
Name![]() |
Description |
---|---|
MediaInterface | Provides an interface for defining TimelineJS3 media objects. |