You are here

public function FeedsBatchInterface::addOperation in Feeds 8.3

Adds an operation.

Parameters

string $stage: The stage of the operation to add.

array $params: (optional) A list of parameters for the operation.

Return value

$this An instance of this class.

1 method overrides FeedsBatchInterface::addOperation()
FeedsBatchBase::addOperation in src/FeedsBatchBase.php
Adds an operation.

File

src/FeedsBatchInterface.php, line 21

Class

FeedsBatchInterface
Interface for Feeds batched tasks.

Namespace

Drupal\feeds

Code

public function addOperation($stage, array $params = []);