You are here

public function AssetInterface::setCreatedTime in farmOS 2.x

Sets the asset creation timestamp.

Parameters

int $timestamp: Creation timestamp of the asset.

Return value

\Drupal\asset\Entity\AssetInterface The asset entity.

1 method overrides AssetInterface::setCreatedTime()
Asset::setCreatedTime in modules/core/asset/src/Entity/Asset.php
Sets the asset creation timestamp.

File

modules/core/asset/src/Entity/AssetInterface.php, line 53

Class

AssetInterface
Provides an interface for defining asset entities.

Namespace

Drupal\asset\Entity

Code

public function setCreatedTime($timestamp);