You are here

public function BrightcoveSubscription::isDefault in Brightcove Video Connect 8

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

Whether the Subscription is default or not.

Return value

bool If the current Subscription is default return TRUE, otherwise FALSE.

Overrides BrightcoveSubscriptionInterface::isDefault

3 calls to BrightcoveSubscription::isDefault()
BrightcoveSubscription::deleteFromBrightcove in src/Entity/BrightcoveSubscription.php
Delete the Subscription from Brightcove only.
BrightcoveSubscription::save in src/Entity/BrightcoveSubscription.php
BrightcoveSubscription::saveToBrightcove in src/Entity/BrightcoveSubscription.php
Saves the subscription entity to Brightcove.

File

src/Entity/BrightcoveSubscription.php, line 85

Class

BrightcoveSubscription
Defines the Brightcove Subscription entity.

Namespace

Drupal\brightcove\Entity

Code

public function isDefault() {
  return $this->default;
}