You are here

public function Profile::getRevisionCreationTime in Profile 2 8

Returns the profile revision creation timestamp.

Return value

int The UNIX timestamp of when this revision was created.

Overrides ProfileInterface::getRevisionCreationTime

File

src/Entity/Profile.php, line 222
Contains \Drupal\profile\Entity\Profile.

Class

Profile
Defines the profile entity class.

Namespace

Drupal\profile\Entity

Code

public function getRevisionCreationTime() {
  return $this
    ->get('revision_timestamp')->value;
}