function Workspace::setCreatedTime
Same name in other branches
- 9 core/modules/workspaces/src/Entity/Workspace.php \Drupal\workspaces\Entity\Workspace::setCreatedTime()
- 8.9.x core/modules/workspaces/src/Entity/Workspace.php \Drupal\workspaces\Entity\Workspace::setCreatedTime()
- 11.x core/modules/workspaces/src/Entity/Workspace.php \Drupal\workspaces\Entity\Workspace::setCreatedTime()
Overrides WorkspaceInterface::setCreatedTime
File
-
core/
modules/ workspaces/ src/ Entity/ Workspace.php, line 145
Class
- Workspace
- The workspace entity class.
Namespace
Drupal\workspaces\EntityCode
public function setCreatedTime($created) {
return $this->set('created', (int) $created);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.