public static function BrightcoveSubscription::loadByBcSid in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveSubscription.php \Drupal\brightcove\Entity\BrightcoveSubscription::loadByBcSid()
- 3.x src/Entity/BrightcoveSubscription.php \Drupal\brightcove\Entity\BrightcoveSubscription::loadByBcSid()
Loads entity by it's Brightcove Subscription ID.
Parameters
string $bcsid: Brightcove ID of the subscription.
Return value
\Drupal\brightcove\Entity\BrightcoveSubscription|null Loaded BrightcoveSubscription entity, or NULL if not found.
Throws
\Drupal\brightcove\Entity\Exception\BrightcoveSubscriptionException
2 calls to BrightcoveSubscription::loadByBcSid()
- BrightcoveSubscription::createOrUpdate in src/
Entity/ BrightcoveSubscription.php - Create or update a Subscription entity.
- BrightcoveSubscriptionDeleteQueueWorker::processItem in src/
Plugin/ QueueWorker/ BrightcoveSubscriptionDeleteQueueWorker.php - Works on a single queue item.
File
- src/
Entity/ BrightcoveSubscription.php, line 354
Class
- BrightcoveSubscription
- Defines the Brightcove Subscription entity.
Namespace
Drupal\brightcove\EntityCode
public static function loadByBcSid($bcsid) {
return self::loadByField('bcsid', $bcsid);
}