You are here

public function WorkableItem::setCreatedTime in Drupal PM (Project Management) 4.x

Overrides WorkableItemInterface::setCreatedTime

File

modules/pm_project/src/Entity/WorkableItem.php, line 165

Class

WorkableItem
Provides Workable Item.

Namespace

Drupal\pm_project\Entity

Code

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