You are here

public function BrightcovePlaylist::getVideos in Brightcove Video Connect 3.x

Same name and namespace in other branches
  1. 8.2 src/Entity/BrightcovePlaylist.php \Drupal\brightcove\Entity\BrightcovePlaylist::getVideos()
  2. 8 src/Entity/BrightcovePlaylist.php \Drupal\brightcove\Entity\BrightcovePlaylist::getVideos()

Returns the list of videos on the playlist.

Return value

int[] The videos on the playlist.

Overrides BrightcovePlaylistInterface::getVideos

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

File

src/Entity/BrightcovePlaylist.php, line 215

Class

BrightcovePlaylist
Defines the Brightcove Playlist.

Namespace

Drupal\brightcove\Entity

Code

public function getVideos() {
  return $this
    ->get('videos')
    ->getValue();
}