You are here

public function EntitySubqueue::setCreatedTime in Entityqueue 8

Sets the subqueue creation timestamp.

Parameters

int $timestamp: The subqueue creation timestamp.

Return value

\Drupal\entityqueue\EntitySubqueueInterface The called subqueue entity.

Overrides EntitySubqueueInterface::setCreatedTime

File

src/Entity/EntitySubqueue.php, line 171

Class

EntitySubqueue
Defines the EntitySubqueue entity class.

Namespace

Drupal\entityqueue\Entity

Code

public function setCreatedTime($timestamp) {
  $this
    ->set('created', $timestamp);
  return $this;
}