You are here

public function Keyword::getCreatedTime in Alinks 8

Gets the Keyword creation timestamp.

Return value

int Creation timestamp of the Keyword.

Overrides KeywordInterface::getCreatedTime

File

src/Entity/Keyword.php, line 91

Class

Keyword
Defines the Keyword entity.

Namespace

Drupal\alinks\Entity

Code

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