You are here

public function OpignoCertificate::getCreatedTime in Opigno certificate 8

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

Gets the opigno_certificate creation timestamp.

Return value

int Creation timestamp of the opigno_certificate.

Overrides OpignoCertificateInterface::getCreatedTime

File

src/Entity/OpignoCertificate.php, line 122

Class

OpignoCertificate
Defines the opigno_certificate entity class.

Namespace

Drupal\opigno_certificate\Entity

Code

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