You are here

public function BrightcoveCmsEntity::setName in Brightcove Video Connect 3.x

Same name and namespace in other branches
  1. 8.2 src/Entity/BrightcoveCmsEntity.php \Drupal\brightcove\Entity\BrightcoveCmsEntity::setName()
  2. 8 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\Entity

Code

public function setName($name) {
  $this
    ->set('name', $name);
  return $this;
}