BrightcoveVideoPlaylistCMSEntityInterface.php in Brightcove Video Connect 3.x
Same filename and directory in other branches
Namespace
Drupal\brightcoveFile
src/BrightcoveVideoPlaylistCMSEntityInterface.phpView source
<?php
namespace Drupal\brightcove;
/**
* Provides a common interface for the Brightcove video and playlist entities.
*/
interface BrightcoveVideoPlaylistCMSEntityInterface extends BrightcoveCMSEntityInterface {
/**
* Returns the Brightcove ID.
*
* @return int
* The Brightcove ID (not the entity's).
*/
public function getBrightcoveId();
/**
* Sets The Brightcove ID.
*
* @param int $id
* The Brightcove ID (not the entity's).
*
* @return \Drupal\brightcove\BrightcoveVideoPlaylistCMSEntityInterface
* The called Brightcove entity.
*/
public function setBrightcoveId($id);
/**
* Returns the player.
*
* @return int
* Target ID of the Brightcove Player.
*/
public function getPlayer();
/**
* Sets the player.
*
* @param int $player
* The Brightcove Player's entity ID.
*
* @return \Drupal\brightcove\BrightcoveVideoPlaylistCMSEntityInterface
* The called Brightcove Video or Playlist.
*/
public function setPlayer($player);
/**
* Returns the reference ID.
*
* @return string
* Reference ID.
*/
public function getReferenceId();
/**
* Sets the reference ID.
*
* @param string $reference_id
* The reference ID.
*
* @return \Drupal\brightcove\BrightcoveVideoPlaylistCMSEntityInterface
* The called Brightcove Video or Playlist.
*/
public function setReferenceId($reference_id);
/**
* Returns the tags.
*
* @return string[]
* The list of tags.
*/
public function getTags();
/**
* Sets the tags.
*
* @param array $tags
* List of tags.
*
* @return \Drupal\brightcove\BrightcoveVideoPlaylistCMSEntityInterface
* The called Brightcove Video or Playlist.
*/
public function setTags(array $tags);
/**
* Returns the entity published status indicator.
*
* Unpublished entities are only visible to restricted users.
*
* @return bool
* TRUE if the entity is published.
*/
public function isPublished();
/**
* Sets the published status of the entity.
*
* @param bool $published
* TRUE to set this entity to published, FALSE to set it to unpublished.
*
* @return \Drupal\brightcove\BrightcoveVideoPlaylistCMSEntityInterface
* The called Brightcove Video or Playlist.
*/
public function setPublished($published);
}
Interfaces
Name | Description |
---|---|
BrightcoveVideoPlaylistCMSEntityInterface | Provides a common interface for the Brightcove video and playlist entities. |