You are here

public function SplashifyGroupEntity::setCreatedTime in Splashify 8.2

Sets the Splashify group entity creation timestamp.

Parameters

int $timestamp: The Splashify group entity creation timestamp.

Return value

\Drupal\splashify\Entity\SplashifyGroupEntityInterface The called Splashify group entity entity.

Overrides SplashifyGroupEntityInterface::setCreatedTime

File

src/Entity/SplashifyGroupEntity.php, line 94

Class

SplashifyGroupEntity
Defines the Splashify group entity entity.

Namespace

Drupal\splashify\Entity

Code

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