You are here

public function BrightcoveVideoPlaylistCmsEntity::getReferenceId in Brightcove Video Connect 3.x

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

Returns the reference ID.

Return value

string Reference ID.

Overrides BrightcoveVideoPlaylistCMSEntityInterface::getReferenceId

2 calls to BrightcoveVideoPlaylistCmsEntity::getReferenceId()
BrightcovePlaylist::save in src/Entity/BrightcovePlaylist.php
BrightcoveVideo::save in src/Entity/BrightcoveVideo.php

File

src/Entity/BrightcoveVideoPlaylistCmsEntity.php, line 29

Class

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

Namespace

Drupal\brightcove\Entity

Code

public function getReferenceId() {
  return $this
    ->get('reference_id')->value;
}