public function BrightcoveTextTrack::getLabel in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveTextTrack.php \Drupal\brightcove\Entity\BrightcoveTextTrack::getLabel()
- 3.x src/Entity/BrightcoveTextTrack.php \Drupal\brightcove\Entity\BrightcoveTextTrack::getLabel()
Gets the Brightcove Text Track name.
Return value
string Name of the Brightcove Text Track.
Overrides BrightcoveTextTrackInterface::getLabel
1 call to BrightcoveTextTrack::getLabel()
- BrightcoveTextTrack::preSave in src/
Entity/ BrightcoveTextTrack.php - Acts on an entity before the presave hook is invoked.
File
- src/
Entity/ BrightcoveTextTrack.php, line 135
Class
- BrightcoveTextTrack
- Defines the Brightcove Text Track entity.
Namespace
Drupal\brightcove\EntityCode
public function getLabel() {
return $this
->get('label')->value;
}