public function WarmerPluginBase::getBatchSize in Warmer 2.x
Same name and namespace in other branches
- 8 src/Plugin/WarmerPluginBase.php \Drupal\warmer\Plugin\WarmerPluginBase::getBatchSize()
Returns the batch size for the warming operation.
Return value
int The size.
Overrides WarmerInterface::getBatchSize
4 calls to WarmerPluginBase::getBatchSize()
- CdnWarmer::buildIdsBatch in modules/
warmer_cdn/ src/ Plugin/ warmer/ CdnWarmer.php - Builds the next batch of IDs based on a position cursor.
- EntityWarmer::buildIdsBatch in modules/
warmer_entity/ src/ Plugin/ warmer/ EntityWarmer.php - TODO: This is a naive implementation.
- SitemapWarmer::buildIdsBatch in modules/
warmer_cdn/ src/ Plugin/ warmer/ SitemapWarmer.php - Builds the next batch of IDs based on a position cursor.
- WarmerPluginBase::buildConfigurationForm in src/
Plugin/ WarmerPluginBase.php - Form constructor.
File
- src/
Plugin/ WarmerPluginBase.php, line 166
Class
- WarmerPluginBase
- Base class for warmer plugins that implement settings forms.
Namespace
Drupal\warmer\PluginCode
public function getBatchSize() {
$configuration = $this
->getConfiguration();
return $configuration['batchSize'];
}