function 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\Entity

Code

public function getCreatedTime() {
  return $this->get('created')->value;
}

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