You are here

public function BrightcoveVideo::setProfile in Brightcove Video Connect 8

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

Sets the video's profile.

Parameters

string $profile: Video's profile.

Return value

\Drupal\brightcove\BrightcoveVideoInterface The called Brightcove Video.

Overrides BrightcoveVideoInterface::setProfile

File

src/Entity/BrightcoveVideo.php, line 439

Class

BrightcoveVideo
Defines the Brightcove Video entity.

Namespace

Drupal\brightcove\Entity

Code

public function setProfile($profile) {
  $this
    ->set('profile', $profile);
  return $this;
}