You are here

public function Keyword::getCreatedTime in Bibliography & Citation 8

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

Gets the Keyword creation timestamp.

Return value

int Creation timestamp of the Keyword.

Overrides KeywordInterface::getCreatedTime

File

modules/bibcite_entity/src/Entity/Keyword.php, line 78

Class

Keyword
Defines the Keyword entity.

Namespace

Drupal\bibcite_entity\Entity

Code

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