public function BrightcoveCmsEntity::setApiClient in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveCmsEntity.php \Drupal\brightcove\Entity\BrightcoveCmsEntity::setApiClient()
- 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\EntityCode
public function setApiClient($api_client) {
$this
->set('api_client', $api_client);
return $this;
}