You are here

public function Media::__construct in Views TimelineJS integration 8.3

Constructs a new Media object.

Parameters

string $url: The URL of the media resource.

File

src/TimelineJS/Media.php, line 44

Class

Media
Defines a TimelineJS3 media object.

Namespace

Drupal\views_timelinejs\TimelineJS

Code

public function __construct($url) {
  $this->url = $url;
}