You are here

public function GroupContent::getChangedTime in Group 8

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

Gets the timestamp of the last entity change for the current translation.

Return value

int The timestamp of the last entity save operation.

Overrides EntityChangedTrait::getChangedTime

File

src/Entity/GroupContent.php, line 158

Class

GroupContent
Defines the Group content entity.

Namespace

Drupal\group\Entity

Code

public function getChangedTime() {
  return $this
    ->get('changed')->value;
}