You are here

public function Synonym::getCreatedTime in Search API Synonym 8

Gets the Synonym creation timestamp.

Return value

int Creation timestamp of the Synonym.

Overrides SynonymInterface::getCreatedTime

File

src/Entity/Synonym.php, line 119

Class

Synonym
Defines the Synonym entity.

Namespace

Drupal\search_api_synonym\Entity

Code

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