You are here

public function BrightcovePlaylist::setTagsSearchCondition in Brightcove Video Connect 8

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

Sets the tags search condition for smart playlist.

Parameters

string $condition: The condition of the tag search, possible values are:

  • TAG_SEARCH_CONTAINS_ONE_OR_MORE
  • TAG_SEARCH_CONTAINS_ALL

.

Return value

\Drupal\brightcove\BrightcovePlaylistInterface The called Brightcove Playlist.

Overrides BrightcovePlaylistInterface::setTagsSearchCondition

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

File

src/Entity/BrightcovePlaylist.php, line 208

Class

BrightcovePlaylist
Defines the Brightcove Playlist.

Namespace

Drupal\brightcove\Entity

Code

public function setTagsSearchCondition($condition) {
  return $this
    ->set('tags_search_condition', $condition);
}