You are here

public function PathFileEntity::getCreatedTime in Path File 8

Gets the Path file entity creation timestamp.

Return value

int Creation timestamp of the Path file entity.

Overrides PathFileEntityInterface::getCreatedTime

File

src/Entity/PathFileEntity.php, line 87

Class

PathFileEntity
Defines the Path file entity entity.

Namespace

Drupal\path_file\Entity

Code

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