You are here

public function BrightcoveVideo::getScheduleEndsAt in Brightcove Video Connect 3.x

Same name and namespace in other branches
  1. 8.2 src/Entity/BrightcoveVideo.php \Drupal\brightcove\Entity\BrightcoveVideo::getScheduleEndsAt()
  2. 8 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 550

Class

BrightcoveVideo
Defines the Brightcove Video entity.

Namespace

Drupal\brightcove\Entity

Code

public function getScheduleEndsAt() {
  $value = $this
    ->get('schedule_ends_at')
    ->getValue();
  if (empty($value)) {
    return NULL;
  }
  return $value[0]['value'];
}