You are here

public function EckEntityInterface::setCreatedTime in Entity Construction Kit (ECK) 8

Sets the creation date of the entity.

Parameters

int $created: The timestamp of when the entity was created.

Return value

\Drupal\eck\EckEntityInterface The class instance that this method is called on.

1 method overrides EckEntityInterface::setCreatedTime()
EckEntity::setCreatedTime in src/Entity/EckEntity.php
Sets the creation date of the entity.

File

src/EckEntityInterface.php, line 53

Class

EckEntityInterface
Provides an interface defining an ECK entity.

Namespace

Drupal\eck

Code

public function setCreatedTime($created);