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