You are here

public function EventInterface::setCreatedTime in Event 8

Sets the Event creation timestamp.

Parameters

int $timestamp: The Event creation timestamp.

Return value

\Drupal\event\Entity\EventInterface The called Event entity.

1 method overrides EventInterface::setCreatedTime()
Event::setCreatedTime in src/Entity/Event.php
Sets the Event creation timestamp.

File

src/Entity/EventInterface.php, line 74

Class

EventInterface
Provides an interface for defining Event entities.

Namespace

Drupal\event\Entity

Code

public function setCreatedTime($timestamp);