You are here

public function BrightcoveTextTrack::setCreatedTime in Brightcove Video Connect 8

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

Sets the Brightcove Text Track creation timestamp.

Parameters

int $timestamp: The Brightcove Text Track creation timestamp.

Return value

\Drupal\brightcove\BrightcoveTextTrackInterface The called Brightcove Text Track entity.

Overrides BrightcoveTextTrackInterface::setCreatedTime

File

src/Entity/BrightcoveTextTrack.php, line 228

Class

BrightcoveTextTrack
Defines the Brightcove Text Track entity.

Namespace

Drupal\brightcove\Entity

Code

public function setCreatedTime($timestamp) {
  return $this
    ->set('created', $timestamp);
}