You are here

public function ConfigPages::getChangedTime in Config Pages 8.2

Same name and namespace in other branches
  1. 8.3 src/Entity/ConfigPages.php \Drupal\config_pages\Entity\ConfigPages::getChangedTime()
  2. 8 src/Entity/ConfigPages.php \Drupal\config_pages\Entity\ConfigPages::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/ConfigPages.php, line 147

Class

ConfigPages
Defines the config page entity class.

Namespace

Drupal\config_pages\Entity

Code

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