You are here

public function EmailConfirmation::getCreatedTime in Email confirmer 8

Gets the email confirmation creation timestamp.

Return value

int Creation timestamp of the email confirmation.

Overrides EmailConfirmationInterface::getCreatedTime

2 calls to EmailConfirmation::getCreatedTime()
EmailConfirmation::getHash in src/Entity/EmailConfirmation.php
Calculate hash for this email confirmation.
EmailConfirmation::isExpired in src/Entity/EmailConfirmation.php
Returns if the confirmation is expired.

File

src/Entity/EmailConfirmation.php, line 422

Class

EmailConfirmation
Defines the email confirmation entity class.

Namespace

Drupal\email_confirmer\Entity

Code

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