public function TimelineMediaInterface::setCaption in Views TimelineJS integration 7.3
Sets the caption for this media.
Parameters
string $text: The caption text.
1 method overrides TimelineMediaInterface::setCaption()
- TimelineMedia::setCaption in src/
TimelineMedia.php - Sets the caption for this media.
File
- src/
TimelineMediaInterface.php, line 14
Class
- TimelineMediaInterface
- Provides an interface for defining TimelineJS3 media objects.
Code
public function setCaption($text);