public function BrightcoveTextTrack::setLabel in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveTextTrack.php \Drupal\brightcove\Entity\BrightcoveTextTrack::setLabel()
- 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\EntityCode
public function setLabel($label) {
return $this
->set('label', $label);
}