class FeedsDirectBatch in Feeds 8.3
A batch task to be executed directly.
Hierarchy
- class \Drupal\feeds\FeedsBatchBase implements FeedsBatchInterface
- class \Drupal\feeds\FeedsDirectBatch
Expanded class hierarchy of FeedsDirectBatch
File
- src/
FeedsDirectBatch.php, line 8
Namespace
Drupal\feedsView source
class FeedsDirectBatch extends FeedsBatchBase {
/**
* {@inheritdoc}
*/
public function run() {
foreach ($this->operations as $operation) {
$this->executable
->processItem($this->feed, $operation['stage'], $operation['params']);
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FeedsBatchBase:: |
protected | property | The Feeds executable. | |
FeedsBatchBase:: |
protected | property | The feed to run a batch for. | |
FeedsBatchBase:: |
protected | property | A list of operations to run. | |
FeedsBatchBase:: |
protected | property | The stage of the batch to run. | |
FeedsBatchBase:: |
public | function |
Adds an operation. Overrides FeedsBatchInterface:: |
|
FeedsBatchBase:: |
public | function | Constructs a new FeedsBatchBase object. | 1 |
FeedsDirectBatch:: |
public | function |
Runs the batch. Overrides FeedsBatchInterface:: |