You are here

public function FlaggingCollection::getCreatedTime in Flag Lists 4.0.x

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

Gets the Flagging collection creation timestamp.

Return value

int Creation timestamp of the Flagging collection.

Overrides FlaggingCollectionInterface::getCreatedTime

File

src/Entity/FlaggingCollection.php, line 226

Class

FlaggingCollection
Defines the Flagging collection entity.

Namespace

Drupal\flag_lists\Entity

Code

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