You are here

public function UnmanagedFiles::getCreatedTime in Fancy File Delete 2.0.x

Gets the Unmanaged Files creation timestamp.

Return value

int Creation timestamp of the Unmanaged Files.

Overrides UnmanagedFilesInterface::getCreatedTime

File

src/Entity/UnmanagedFiles.php, line 53

Class

UnmanagedFiles
Defines the Unmanaged Files entity.

Namespace

Drupal\fancy_file_delete\Entity

Code

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