public function Feed::startCronImport in Feeds 8.3
Starts importing a feed via cron.
Throws
\Exception Thrown if an un-recoverable error has occurred.
Overrides FeedInterface::startCronImport
File
- src/
Entity/ Feed.php, line 272
Class
- Feed
- Defines the feed entity class.
Namespace
Drupal\feeds\EntityCode
public function startCronImport() {
$this
->entityTypeManager()
->getHandler('feeds_feed', 'feed_import')
->startCronImport($this);
}