You are here

public function BrightcoveCmsEntity::getName in Brightcove Video Connect 8

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

Gets the Brightcove CMS entity name.

Return value

string Name of the Brightcove CMS entity.

Overrides BrightcoveCMSEntityInterface::getName

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

File

src/Entity/BrightcoveCmsEntity.php, line 23

Class

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

Namespace

Drupal\brightcove\Entity

Code

public function getName() {
  return $this
    ->get('name')->value;
}