You are here

public function Profile::getCreatedTime in Profile 8

Gets the profile creation timestamp.

Return value

int The profile creation timestamp.

Overrides ProfileInterface::getCreatedTime

File

src/Entity/Profile.php, line 173

Class

Profile
Defines the profile entity class.

Namespace

Drupal\profile\Entity

Code

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