public function Media::setCaption in Views TimelineJS integration 8.3
Sets the caption for this media.
Parameters
string $text: The caption text.
Overrides MediaInterface::setCaption
File
- src/
TimelineJS/ Media.php, line 51
Class
- Media
- Defines a TimelineJS3 media object.
Namespace
Drupal\views_timelinejs\TimelineJSCode
public function setCaption($text) {
$this->caption = $text;
}