You are here

public function QuantityInterface::setCreatedTime in farmOS 2.x

Sets the quantity creation timestamp.

Parameters

int $timestamp: Creation timestamp of the quantity.

Return value

\Drupal\quantity\Entity\QuantityInterface The quantity entity.

1 method overrides QuantityInterface::setCreatedTime()
Quantity::setCreatedTime in modules/core/quantity/src/Entity/Quantity.php
Sets the quantity creation timestamp.

File

modules/core/quantity/src/Entity/QuantityInterface.php, line 34

Class

QuantityInterface
Provides an interface for defining quantity entities.

Namespace

Drupal\quantity\Entity

Code

public function setCreatedTime($timestamp);