You are here

public function Feed::import in Feeds 8.3

Imports the whole feed at once.

This does not batch. It assumes that the input is small enough to not need it.

Throws

\Exception Re-throws any exception that bubbles up.

Overrides FeedInterface::import

File

src/Entity/Feed.php, line 254

Class

Feed
Defines the feed entity class.

Namespace

Drupal\feeds\Entity

Code

public function import() {
  $this
    ->entityTypeManager()
    ->getHandler('feeds_feed', 'feed_import')
    ->import($this);
}