You are here

public function Reference::getCreatedTime in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Entity/Reference.php \Drupal\bibcite_entity\Entity\Reference::getCreatedTime()

Gets the Reference creation timestamp.

Return value

int Creation timestamp of the Reference.

Overrides ReferenceInterface::getCreatedTime

File

modules/bibcite_entity/src/Entity/Reference.php, line 124

Class

Reference
Defines the Reference entity.

Namespace

Drupal\bibcite_entity\Entity

Code

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