You are here

public function State::setCompleted in Feeds 8.3

Immediately completes the batch.

Overrides StateInterface::setCompleted

2 calls to State::setCompleted()
CleanState::progress in src/Feeds/State/CleanState.php
Reports the progress of a batch.
State::progress in src/State.php
Reports the progress of a batch.

File

src/State.php, line 106

Class

State
Status of the import or clearing operation of a Feed.

Namespace

Drupal\feeds

Code

public function setCompleted() {
  $this->progress = StateInterface::BATCH_COMPLETE;
}