public function Workspace::getCreatedTime in Drupal 9
Same name and namespace in other branches
- 8 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;
}