You are here

public function UserModuleStatus::getCreatedTime in Opigno module 8

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

Gets the User module status creation timestamp.

Return value

int Creation timestamp of the User module status.

Overrides UserModuleStatusInterface::getCreatedTime

File

src/Entity/UserModuleStatus.php, line 86

Class

UserModuleStatus
Defines the User module status entity.

Namespace

Drupal\opigno_module\Entity

Code

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