public function Invite::setCreatedTime in Invite 8
Sets the Invite creation timestamp.
Parameters
int $timestamp: The Invite creation timestamp.
Return value
\Drupal\invite\InviteInterface The called Invite entity.
Overrides InviteInterface::setCreatedTime
File
- src/
Entity/ Invite.php, line 127
Class
- Invite
- Defines the Invite entity.
Namespace
Drupal\invite\EntityCode
public function setCreatedTime($timestamp) {
$this
->set('created', $timestamp);
return $this;
}