public function Workspace::getCreatedTime in Drupal 10
Same name and namespace in other branches
- 8 core/modules/workspaces/src/Entity/Workspace.php \Drupal\workspaces\Entity\Workspace::getCreatedTime()
- 9 core/modules/workspaces/src/Entity/Workspace.php \Drupal\workspaces\Entity\Workspace::getCreatedTime()
Gets the workspace creation timestamp.
Return value
int Creation timestamp of the workspace.
Overrides WorkspaceInterface::getCreatedTime
File
- core/
modules/ workspaces/ src/ Entity/ Workspace.php, line 136
Class
- Workspace
- The workspace entity class.
Namespace
Drupal\workspaces\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}