You are here

public function Feed::progressExpiring in Feeds 8.3

Reports progress on expiry.

Return value

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

Overrides FeedInterface::progressExpiring

File

src/Entity/Feed.php, line 469

Class

Feed
Defines the feed entity class.

Namespace

Drupal\feeds\Entity

Code

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