You are here

public function Org::setCreatedTime in RedHen CRM 8

Sets the Org creation timestamp.

Parameters

int $timestamp: The Org creation timestamp.

Return value

\Drupal\redhen_org\OrgInterface The called Org entity.

Overrides OrgInterface::setCreatedTime

File

modules/redhen_org/src/Entity/Org.php, line 110

Class

Org
Defines the Organization entity.

Namespace

Drupal\redhen_org\Entity

Code

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