You are here

public function BrightcoveCmsEntity::setApiClient in Brightcove Video Connect 8

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

Sets the Brightcove Client API target ID.

Parameters

int $api_client: Target ID of the Brightcove Client API.

Return value

\Drupal\brightcove\BrightcoveCMSEntityInterface The called Brightcove CMS entity.

Overrides BrightcoveCMSEntityInterface::setApiClient

File

src/Entity/BrightcoveCmsEntity.php, line 45

Class

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

Namespace

Drupal\brightcove\Entity

Code

public function setApiClient($api_client) {
  $this
    ->set('api_client', $api_client);
  return $this;
}