public function FlaggingCollection::setCreatedTime in Flag Lists 8
Same name and namespace in other branches
- 4.0.x src/Entity/FlaggingCollection.php \Drupal\flag_lists\Entity\FlaggingCollection::setCreatedTime()
Sets the Flagging collection creation timestamp.
Parameters
int $timestamp: The Flagging collection creation timestamp.
Return value
\Drupal\flag_lists\Entity\FlaggingCollectionInterface The called Flagging collection entity.
Overrides FlaggingCollectionInterface::setCreatedTime
File
- src/
Entity/ FlaggingCollection.php, line 210
Class
- FlaggingCollection
- Defines the Flagging collection entity.
Namespace
Drupal\flag_lists\EntityCode
public function setCreatedTime($timestamp) {
$this
->set('created', $timestamp);
return $this;
}