You are here

public function BrightcoveVideoPlaylistCmsEntity::setReferenceId in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/Entity/BrightcoveVideoPlaylistCmsEntity.php \Drupal\brightcove\Entity\BrightcoveVideoPlaylistCmsEntity::setReferenceId()
  2. 3.x src/Entity/BrightcoveVideoPlaylistCmsEntity.php \Drupal\brightcove\Entity\BrightcoveVideoPlaylistCmsEntity::setReferenceId()

Sets the reference ID.

Parameters

string $reference_id: The reference ID.

Return value

\Drupal\brightcove\BrightcoveVideoPlaylistCMSEntityInterface The called Brightcove Video or Playlist.

Overrides BrightcoveVideoPlaylistCMSEntityInterface::setReferenceId

File

src/Entity/BrightcoveVideoPlaylistCmsEntity.php, line 36

Class

BrightcoveVideoPlaylistCmsEntity
Common base class for CMS entities like Video and Playlist.

Namespace

Drupal\brightcove\Entity

Code

public function setReferenceId($reference_id) {
  return $this
    ->set('reference_id', $reference_id);
}