function WorkspaceInterface::setCreatedTime

Same name in other branches
  1. 9 core/modules/workspaces/src/WorkspaceInterface.php \Drupal\workspaces\WorkspaceInterface::setCreatedTime()
  2. 10 core/modules/workspaces/src/WorkspaceInterface.php \Drupal\workspaces\WorkspaceInterface::setCreatedTime()
  3. 11.x core/modules/workspaces/src/WorkspaceInterface.php \Drupal\workspaces\WorkspaceInterface::setCreatedTime()

Sets the workspace creation timestamp.

Parameters

int $timestamp: The workspace creation timestamp.

Return value

$this

1 method overrides WorkspaceInterface::setCreatedTime()
Workspace::setCreatedTime in core/modules/workspaces/src/Entity/Workspace.php
Sets the workspace creation timestamp.

File

core/modules/workspaces/src/WorkspaceInterface.php, line 58

Class

WorkspaceInterface
Defines an interface for the workspace entity type.

Namespace

Drupal\workspaces

Code

public function setCreatedTime($timestamp);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.