function Workspace::getCreatedTime

Same name in other branches
  1. 9 core/modules/workspaces/src/Entity/Workspace.php \Drupal\workspaces\Entity\Workspace::getCreatedTime()
  2. 8.9.x core/modules/workspaces/src/Entity/Workspace.php \Drupal\workspaces\Entity\Workspace::getCreatedTime()
  3. 11.x core/modules/workspaces/src/Entity/Workspace.php \Drupal\workspaces\Entity\Workspace::getCreatedTime()

Overrides WorkspaceInterface::getCreatedTime

File

core/modules/workspaces/src/Entity/Workspace.php, line 138

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.