Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Fetching a feed for getting simply it's title or the contents of its CSV file requires currently much knowledge about the internals of a FeedsSource object:
$batch = $source->importer->fetcher->fetch($this);
$this->importer->parser->parse($batch, $source);
Let's wrap this functionality in a FeedsSource::preview() method. Will be needed for #651478: Mapping on import.
Comment | File | Size | Author |
---|---|---|---|
#1 | 850638-1_preview.patch | 1.82 KB | alex_b |
Comments
Comment #1
alex_b CreditAttribution: alex_b commentedStraightforward, will commit ASAP.
Comment #2
alex_b CreditAttribution: alex_b commentedCommitted.