You are here

public function BrightcoveVideoPlaylistCmsEntity::setTags in Brightcove Video Connect 3.x

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

Sets the tags.

Parameters

array $tags: List of tags.

Return value

\Drupal\brightcove\BrightcoveVideoPlaylistCMSEntityInterface The called Brightcove Video or Playlist.

Overrides BrightcoveVideoPlaylistCMSEntityInterface::setTags

1 call to BrightcoveVideoPlaylistCmsEntity::setTags()
BrightcovePlaylist::save in src/Entity/BrightcovePlaylist.php

File

src/Entity/BrightcoveVideoPlaylistCmsEntity.php, line 64

Class

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

Namespace

Drupal\brightcove\Entity

Code

public function setTags(array $tags) {
  $this
    ->set('tags', $tags);
  return $this;
}