public function TimelineMedia::setCredit in Views TimelineJS integration 7.3
Sets the credit for this media.
Parameters
string $text: The credit text.
Overrides TimelineMediaInterface::setCredit
File
- src/
TimelineMedia.php, line 50
Class
- TimelineMedia
- Defines a TimelineJS3 media object.
Code
public function setCredit($text) {
$this->credit = $text;
}