public function BrightcoveVideo::getScheduleEndsAt in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveVideo.php \Drupal\brightcove\Entity\BrightcoveVideo::getScheduleEndsAt()
- 3.x src/Entity/BrightcoveVideo.php \Drupal\brightcove\Entity\BrightcoveVideo::getScheduleEndsAt()
Returns the schedule ends at date.
Return value
string The datetime of the schedule ends at date.
Overrides BrightcoveVideoInterface::getScheduleEndsAt
1 call to BrightcoveVideo::getScheduleEndsAt()
- BrightcoveVideo::save in src/
Entity/ BrightcoveVideo.php
File
- src/
Entity/ BrightcoveVideo.php, line 545
Class
- BrightcoveVideo
- Defines the Brightcove Video entity.
Namespace
Drupal\brightcove\EntityCode
public function getScheduleEndsAt() {
$value = $this
->get('schedule_ends_at')
->getValue();
if (empty($value)) {
return NULL;
}
return $value[0]['value'];
}