You are here

public function Feed::progressParsing in Feeds 8.3

Reports the progress of the parsing stage.

Return value

float A float between 0 and 1. 1 = StateInterface::BATCH_COMPLETE.

Overrides FeedInterface::progressParsing

File

src/Entity/Feed.php, line 425

Class

Feed
Defines the feed entity class.

Namespace

Drupal\feeds\Entity

Code

public function progressParsing() {
  return $this
    ->getState(StateInterface::PARSE)->progress;
}