You are here

public function BrightcoveCmsEntity::setDescription in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/Entity/BrightcoveCmsEntity.php \Drupal\brightcove\Entity\BrightcoveCmsEntity::setDescription()
  2. 3.x src/Entity/BrightcoveCmsEntity.php \Drupal\brightcove\Entity\BrightcoveCmsEntity::setDescription()

Sets the CMS entity's description.

Parameters

string $description: The description of the CMS entity.

Return value

\Drupal\brightcove\BrightcoveCMSEntityInterface The called Brightcove CMS entity.

Overrides BrightcoveCMSEntityInterface::setDescription

File

src/Entity/BrightcoveCmsEntity.php, line 60

Class

BrightcoveCmsEntity
Common base class for CMS entities like Video and Playlist.

Namespace

Drupal\brightcove\Entity

Code

public function setDescription($description) {
  $this
    ->set('description', $description);
  return $this;
}