You are here

public function MediaInterface::getCreatedTime in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/media/src/MediaInterface.php \Drupal\media\MediaInterface::getCreatedTime()

Returns the media item creation timestamp.

@todo Remove and use the new interface when #2833378 is done.

Return value

int Creation timestamp of the media item.

See also

https://www.drupal.org/node/2833378

1 method overrides MediaInterface::getCreatedTime()
Media::getCreatedTime in core/modules/media/src/Entity/Media.php
Returns the media item creation timestamp.

File

core/modules/media/src/MediaInterface.php, line 43

Class

MediaInterface
Provides an interface defining an entity for media items.

Namespace

Drupal\media

Code

public function getCreatedTime();