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