You are here

public function Connection::setCreatedTime in RedHen CRM 8

Sets the Connection creation timestamp.

Parameters

int $timestamp: The Connection creation timestamp.

Return value

\Drupal\redhen_connection\ConnectionInterface The called Connection entity.

Overrides ConnectionInterface::setCreatedTime

File

modules/redhen_connection/src/Entity/Connection.php, line 98

Class

Connection
Defines the Connection entity.

Namespace

Drupal\redhen_connection\Entity

Code

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