public function MediaInterface::setCaption in Views TimelineJS integration 8.3
Sets the caption for this media.
Parameters
string $text: The caption text.
1 method overrides MediaInterface::setCaption()
- Media::setCaption in src/
TimelineJS/ Media.php - Sets the caption for this media.
File
- src/
TimelineJS/ MediaInterface.php, line 16
Class
- MediaInterface
- Provides an interface for defining TimelineJS3 media objects.
Namespace
Drupal\views_timelinejs\TimelineJSCode
public function setCaption($text);