You are here

public function BrightcoveTextTrack::setLabel in Brightcove Video Connect 8

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

Sets the Brightcove Text Track name.

Parameters

string $label: The Brightcove Text Track name.

Return value

\Drupal\brightcove\BrightcoveTextTrackInterface The called Brightcove Text Track entity.

Overrides BrightcoveTextTrackInterface::setLabel

File

src/Entity/BrightcoveTextTrack.php, line 142

Class

BrightcoveTextTrack
Defines the Brightcove Text Track entity.

Namespace

Drupal\brightcove\Entity

Code

public function setLabel($label) {
  return $this
    ->set('label', $label);
}