public function Feed::setCreatedTime in Feeds 8.3
Sets the feed creation timestamp.
Parameters
int $timestamp: The feed creation timestamp.
Overrides FeedInterface::setCreatedTime
File
- src/
Entity/ Feed.php, line 147
Class
- Feed
- Defines the feed entity class.
Namespace
Drupal\feeds\EntityCode
public function setCreatedTime($timestamp) {
$this
->set('created', (int) $timestamp);
}