You are here

class FeedsDirectBatch in Feeds 8.3

A batch task to be executed directly.

Hierarchy

Expanded class hierarchy of FeedsDirectBatch

File

src/FeedsDirectBatch.php, line 8

Namespace

Drupal\feeds
View source
class FeedsDirectBatch extends FeedsBatchBase {

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

}

Members

Namesort descending Modifiers Type Description Overrides
FeedsBatchBase::$executable protected property The Feeds executable.
FeedsBatchBase::$feed protected property The feed to run a batch for.
FeedsBatchBase::$operations protected property A list of operations to run.
FeedsBatchBase::$stage protected property The stage of the batch to run.
FeedsBatchBase::addOperation public function Adds an operation. Overrides FeedsBatchInterface::addOperation
FeedsBatchBase::__construct public function Constructs a new FeedsBatchBase object. 1
FeedsDirectBatch::run public function Runs the batch. Overrides FeedsBatchInterface::run