You are here

public function FeedsImporter::getLimit in Feeds 8.2

Report how many items *should* be created on one page load by this importer.

Note:

It depends on whether parser implements batching if this limit is actually respected. Further, if no limit is reported it doesn't mean that the number of items that can be created on one page load is actually without limit.

Return value

A positive number defining the number of items that can be created on one page load. 0 if this number is unlimited.

File

lib/Drupal/feeds/FeedsImporter.php, line 77
FeedsImporter class and related.

Class

FeedsImporter
A FeedsImporter object describes how an external source should be fetched, parsed and processed. Feeds can manage an arbitrary amount of importers.

Namespace

Drupal\feeds

Code

public function getLimit() {
  return $this->processor
    ->getLimit();
}