public function Feed::getItemCount in Feeds 8.3
Counts items imported by this feed.
Return value
int The number of items imported by this Feed.
Overrides FeedInterface::getItemCount
File
- src/
Entity/ Feed.php, line 476
Class
- Feed
- Defines the feed entity class.
Namespace
Drupal\feeds\EntityCode
public function getItemCount() {
return (int) $this
->get('item_count')->value;
}