You are here

public function Feed::progressClearing in Feeds 8.3

Reports progress on clearing.

Return value

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

Overrides FeedInterface::progressClearing

File

src/Entity/Feed.php, line 462

Class

Feed
Defines the feed entity class.

Namespace

Drupal\feeds\Entity

Code

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