You are here

public function Media::setCredit in Views TimelineJS integration 8.3

Sets the credit for this media.

Parameters

string $text: The credit text.

Overrides MediaInterface::setCredit

File

src/TimelineJS/Media.php, line 58

Class

Media
Defines a TimelineJS3 media object.

Namespace

Drupal\views_timelinejs\TimelineJS

Code

public function setCredit($text) {
  $this->credit = $text;
}