You are here

public function MediaInterface::setCreatedTime in Media entity 8

Sets the media creation timestamp.

Parameters

int $timestamp: The media creation timestamp.

Return value

\Drupal\media_entity\MediaInterface The called media entity.

1 method overrides MediaInterface::setCreatedTime()
Media::setCreatedTime in src/Entity/Media.php
Sets the media creation timestamp.

File

src/MediaInterface.php, line 31

Class

MediaInterface
Provides an interface defining a media entity.

Namespace

Drupal\media_entity

Code

public function setCreatedTime($timestamp);