public function BrightcoveVideoPlaylistCmsEntity::setPlayer in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveVideoPlaylistCmsEntity.php \Drupal\brightcove\Entity\BrightcoveVideoPlaylistCmsEntity::setPlayer()
- 3.x src/Entity/BrightcoveVideoPlaylistCmsEntity.php \Drupal\brightcove\Entity\BrightcoveVideoPlaylistCmsEntity::setPlayer()
Sets the player.
Parameters
int $player: The Brightcove Player's entity ID.
Return value
\Drupal\brightcove\BrightcoveVideoPlaylistCMSEntityInterface The called Brightcove Video or Playlist.
Overrides BrightcoveVideoPlaylistCMSEntityInterface::setPlayer
File
- src/
Entity/ BrightcoveVideoPlaylistCmsEntity.php, line 22
Class
- BrightcoveVideoPlaylistCmsEntity
- Common base class for CMS entities like Video and Playlist.
Namespace
Drupal\brightcove\EntityCode
public function setPlayer($player) {
return $this
->set('player', $player);
}