public function FeedInterface::pushImport in Feeds 8.3
Imports a raw string.
This does not batch. It assumes that the input is small enough to not need it.
@todo We need to create a job for this that will run immediately so that services don't have to wait for us to process. Can we spawn a background process?
Parameters
string $raw: (optional) A raw string to import.
Throws
\Exception Re-throws any exception that bubbles up.
1 method overrides FeedInterface::pushImport()
- Feed::pushImport in src/
Entity/ Feed.php - Imports a raw string.
File
- src/
FeedInterface.php, line 158
Class
- FeedInterface
- Provides an interface defining a feeds_feed entity.
Namespace
Drupal\feedsCode
public function pushImport($raw);