public function BrightcoveSubscription::setEvents in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveSubscription.php \Drupal\brightcove\Entity\BrightcoveSubscription::setEvents()
- 3.x src/Entity/BrightcoveSubscription.php \Drupal\brightcove\Entity\BrightcoveSubscription::setEvents()
Sets the events for which we want to subscribe.
Parameters
string[] $events: Array of events to subscribe to.
Return value
$this
Overrides BrightcoveSubscriptionInterface::setEvents
File
- src/
Entity/ BrightcoveSubscription.php, line 158
Class
- BrightcoveSubscription
- Defines the Brightcove Subscription entity.
Namespace
Drupal\brightcove\EntityCode
public function setEvents(array $events) {
$this->events = $events;
return $this;
}