You are here

public function Feed::progressCleaning in Feeds 8.3

Reports progress on cleaning.

Return value

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

Overrides FeedInterface::progressCleaning

File

src/Entity/Feed.php, line 455

Class

Feed
Defines the feed entity class.

Namespace

Drupal\feeds\Entity

Code

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