You are here

public function BrightcovePlaylist::setPlaylistId in Brightcove Video Connect 8

Sets The Brightcove Playlist ID.

Parameters

int $playlist_id: The Brightcove Playlist ID (not the entity's).

Return value

\Drupal\brightcove\BrightcovePlaylistInterface The called Brightcove Playlist.

Overrides BrightcovePlaylistInterface::setPlaylistId

1 call to BrightcovePlaylist::setPlaylistId()
BrightcovePlaylist::save in src/Entity/BrightcovePlaylist.php

File

src/Entity/BrightcovePlaylist.php, line 193

Class

BrightcovePlaylist
Defines the Brightcove Playlist.

Namespace

Drupal\brightcove\Entity

Code

public function setPlaylistId($playlist_id) {
  $this
    ->set('playlist_id', $playlist_id);
  return $this;
}