public function BrightcoveCmsEntity::setName in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveCmsEntity.php \Drupal\brightcove\Entity\BrightcoveCmsEntity::setName()
- 3.x src/Entity/BrightcoveCmsEntity.php \Drupal\brightcove\Entity\BrightcoveCmsEntity::setName()
Sets the Brightcove CMS entity name.
Parameters
string $name: The Brightcove CMS entity name.
Return value
\Drupal\brightcove\BrightcoveCMSEntityInterface The called Brightcove CMS entity.
Overrides BrightcoveCMSEntityInterface::setName
File
- src/
Entity/ BrightcoveCmsEntity.php, line 30
Class
- BrightcoveCmsEntity
- Common base class for CMS entities like Video and Playlist.
Namespace
Drupal\brightcove\EntityCode
public function setName($name) {
$this
->set('name', $name);
return $this;
}