You are here

protected function PubSubHubbub::batchSet in Feeds 8.3

Adds a new batch.

Parameters

array $batch_definition: An associative array defining the batch.

2 calls to PubSubHubbub::batchSet()
PubSubHubbub::subscribe in src/EventSubscriber/PubSubHubbub.php
Subscribes a subscription to a hub in a batch.
PubSubHubbub::unsubscribe in src/EventSubscriber/PubSubHubbub.php
Unsubscribes a subscription from a hub in a batch.

File

src/EventSubscriber/PubSubHubbub.php, line 60

Class

PubSubHubbub
Event listener for PubSubHubbub subscriptions.

Namespace

Drupal\feeds\EventSubscriber

Code

protected function batchSet(array $batch_definition) {
  return batch_set($batch_definition);
}