You are here

public function SocialAuth::getCreatedTime in Social Auth 8.2

Same name and namespace in other branches
  1. 3.x src/Entity/SocialAuth.php \Drupal\social_auth\Entity\SocialAuth::getCreatedTime()

Gets the user creation time.

Return value

int Creation timestamp Social Auth entity.

File

src/Entity/SocialAuth.php, line 100

Class

SocialAuth
Defines the Social Auth entity.

Namespace

Drupal\social_auth\Entity

Code

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