You are here

public function FeedsSource::progressParsing in Feeds 8.2

Report progress as float between 0 and 1. 1 = FEEDS_BATCH_COMPLETE.

1 call to FeedsSource::progressParsing()
FeedsSource::import in lib/Drupal/feeds/FeedsSource.php
Import a source: execute fetching, parsing and processing stage.

File

lib/Drupal/feeds/FeedsSource.php, line 350
Definition of FeedsSourceInterface and FeedsSource class.

Class

FeedsSource
This class encapsulates a source of a feed. It stores where the feed can be found and how to import it.

Namespace

Drupal\feeds

Code

public function progressParsing() {
  return $this
    ->state(FEEDS_PARSE)->progress;
}