You are here

public function FeedsSource::progressClearing in Feeds 8.2

Report progress on clearing.

2 calls to FeedsSource::progressClearing()
FeedsSource::clear in lib/Drupal/feeds/FeedsSource.php
Remove all items from a feed.
FeedsSource::scheduleClear in lib/Drupal/feeds/FeedsSource.php
Schedule background clearing tasks.

File

lib/Drupal/feeds/FeedsSource.php, line 377
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 progressClearing() {
  return $this
    ->state(FEEDS_PROCESS_CLEAR)->progress;
}