You are here

public function BrightcoveVideo::getProfile in Brightcove Video Connect 8

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

Returns the video's profile.

Return value

string The video profile.

Overrides BrightcoveVideoInterface::getProfile

File

src/Entity/BrightcoveVideo.php, line 432

Class

BrightcoveVideo
Defines the Brightcove Video entity.

Namespace

Drupal\brightcove\Entity

Code

public function getProfile() {
  return $this
    ->get('profile')->value;
}