You are here

public function BrightcoveCmsEntity::getCreatedTime in Brightcove Video Connect 8

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

Gets the Brightcove CMS entity creation timestamp.

Return value

int Creation timestamp of the Brightcove CMS entity.

Overrides BrightcoveCMSEntityInterface::getCreatedTime

File

src/Entity/BrightcoveCmsEntity.php, line 98

Class

BrightcoveCmsEntity
Common base class for CMS entities like Video and Playlist.

Namespace

Drupal\brightcove\Entity

Code

public function getCreatedTime() {
  return $this
    ->get('created')->value;
}