You are here

public function FlagListItem::getCreatedTime in Flag Lists 8

Same name and namespace in other branches
  1. 4.0.x src/Entity/FlagListItem.php \Drupal\flag_lists\Entity\FlagListItem::getCreatedTime()

Gets the Flag list item creation timestamp.

Return value

int Creation timestamp of the Flag list item.

Overrides FlagListItemInterface::getCreatedTime

File

src/Entity/FlagListItem.php, line 94

Class

FlagListItem
Defines the Flag list item entity.

Namespace

Drupal\flag_lists\Entity

Code

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