You are here

public function XmlSitemapGeneratorInterface::rebuildBatchFetch in XML sitemap 2.x

Same name and namespace in other branches
  1. 8 src/XmlSitemapGeneratorInterface.php \Drupal\xmlsitemap\XmlSitemapGeneratorInterface::rebuildBatchFetch()

Batch callback; fetch and add the sitemap links for a specific entity.

Parameters

string $entity_type_id: Entity type to be rebuilt.

array|\ArrayAccess $context: Context to be rebuilt.

1 method overrides XmlSitemapGeneratorInterface::rebuildBatchFetch()
XmlSitemapGenerator::rebuildBatchFetch in src/XmlSitemapGenerator.php
Batch callback; fetch and add the sitemap links for a specific entity.

File

src/XmlSitemapGeneratorInterface.php, line 148

Class

XmlSitemapGeneratorInterface
Provides an interface defining a XmlSitemapGenerator service.

Namespace

Drupal\xmlsitemap

Code

public function rebuildBatchFetch($entity_type_id, &$context);