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\EntityCode
public function setCreatedTime($timestamp);