You are here

public function QueueService::selectPageLimit in Purge 8.3

Retrieve or configure the number of items per data page.

Parameters

int $set_limit_to: When this argument is not NULL, it will change the known limit to the integer given. From this call and on, the limit returned has changed.

Return value

int The maximum number of items returned on a selected data page.

Overrides QueueServiceInterface::selectPageLimit

File

src/Plugin/Purge/Queue/QueueService.php, line 511

Class

QueueService
Provides the service that lets invalidations interact with a queue backend.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

public function selectPageLimit($set_limit_to = NULL) {
  $this
    ->initializeQueue();
  return $this->queue
    ->selectPageLimit($set_limit_to);
}