public Item::getPostedTime()
Returns the posted date of the feed item, as a Unix timestamp.
Return value
int The posted date of the feed item, as a Unix timestamp.
Overrides ItemInterface::getPostedTime
File
- core/modules/aggregator/src/Entity/Item.php, line 188
Class
- Item
- Defines the aggregator item entity class.
Namespace
Drupal\aggregator\Entity
Code
public function getPostedTime() { return $this->get('timestamp')->value; }
Please login to continue.