You are here

public function BrightcoveSubscription::getApiClient in Brightcove Video Connect 3.x

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

Returns the API Client ID.

Return value

\Drupal\brightcove\BrightcoveAPIClientInterface The API Client for this Subscription.

Overrides BrightcoveSubscriptionInterface::getApiClient

File

src/Entity/BrightcoveSubscription.php, line 99

Class

BrightcoveSubscription
Defines the Brightcove Subscription entity.

Namespace

Drupal\brightcove\Entity

Code

public function getApiClient() {
  return !empty($this->apiClient) ? $this->apiClient : NULL;
}