You are here

public function MessageInterface::setCreatedTime in Message 8

Setting the timestamp.

Parameters

int $timestamp: The Unix timestamp.

Return value

\Drupal\message\MessageInterface Returns the message object.

1 method overrides MessageInterface::setCreatedTime()
Message::setCreatedTime in src/Entity/Message.php
Setting the timestamp.

File

src/MessageInterface.php, line 50

Class

MessageInterface
Provides an interface defining a Message entity.

Namespace

Drupal\message

Code

public function setCreatedTime($timestamp);