You are here

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

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

Returns the description.

Return value

string The description of the CMS entity.

Overrides BrightcoveCMSEntityInterface::getDescription

2 calls to BrightcoveCmsEntity::getDescription()
BrightcovePlaylist::save in src/Entity/BrightcovePlaylist.php
BrightcoveVideo::save in src/Entity/BrightcoveVideo.php

File

src/Entity/BrightcoveCmsEntity.php, line 53

Class

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

Namespace

Drupal\brightcove\Entity

Code

public function getDescription() {
  return $this
    ->get('description')->value;
}