You are here

public function FeedsDirectBatch::run in Feeds 8.3

Runs the batch.

Return value

$this An instance of this class.

Overrides FeedsBatchInterface::run

File

src/FeedsDirectBatch.php, line 13

Class

FeedsDirectBatch
A batch task to be executed directly.

Namespace

Drupal\feeds

Code

public function run() {
  foreach ($this->operations as $operation) {
    $this->executable
      ->processItem($this->feed, $operation['stage'], $operation['params']);
  }
}