You are here

interface FeedsBatchInterface in Feeds 8.3

Interface for Feeds batched tasks.

Hierarchy

Expanded class hierarchy of FeedsBatchInterface

All classes that implement FeedsBatchInterface

File

src/FeedsBatchInterface.php, line 8

Namespace

Drupal\feeds
View 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

Namesort descending Modifiers Type Description Overrides
FeedsBatchInterface::addOperation public function Adds an operation. 1
FeedsBatchInterface::run public function Runs the batch. 3