You are here

public function OpignoModule::getCreatedTime in Opigno module 8

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

Gets the Module creation timestamp.

Return value

int Creation timestamp of the Module.

Overrides OpignoModuleInterface::getCreatedTime

File

src/Entity/OpignoModule.php, line 124

Class

OpignoModule
Defines the Module entity.

Namespace

Drupal\opigno_module\Entity

Code

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