You are here

public function Group::getCreatedTime in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/Group.php \Drupal\group\Entity\Group::getCreatedTime()

Gets the group creation timestamp.

Return value

int Creation timestamp of the group.

Overrides GroupInterface::getCreatedTime

File

src/Entity/Group.php, line 133

Class

Group
Defines the Group entity.

Namespace

Drupal\group\Entity

Code

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