You are here

public function Keyword::getCreatedTime in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 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;
}