interface FeedsBatchInterface in Feeds 8.3
Interface for Feeds batched tasks.
Hierarchy
- interface \Drupal\feeds\FeedsBatchInterface
Expanded class hierarchy of FeedsBatchInterface
All classes that implement FeedsBatchInterface
File
- src/
FeedsBatchInterface.php, line 8
Namespace
Drupal\feedsView source
interface FeedsBatchInterface {
/**
* Adds an operation.
*
* @param string $stage
* The stage of the operation to add.
* @param array $params
* (optional) A list of parameters for the operation.
*
* @return $this
* An instance of this class.
*/
public function addOperation($stage, array $params = []);
/**
* Runs the batch.
*
* @return $this
* An instance of this class.
*/
public function run();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FeedsBatchInterface:: |
public | function | Adds an operation. | 1 |
FeedsBatchInterface:: |
public | function | Runs the batch. | 3 |