You are here

public function Contributor::getCreatedTime in Bibliography & Citation 8

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

Gets the Contributor creation timestamp.

Return value

int Creation timestamp of the Contributor.

Overrides ContributorInterface::getCreatedTime

File

modules/bibcite_entity/src/Entity/Contributor.php, line 141

Class

Contributor
Defines the Contributor entity.

Namespace

Drupal\bibcite_entity\Entity

Code

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