You are here

protected function ViewsUrlGenerator::markIndexToDelete in Simple XML sitemap (Views integration) 8

Marks the index to delete.

Parameters

array $data_set: Processed data set.

1 call to ViewsUrlGenerator::markIndexToDelete()
ViewsUrlGenerator::processDataSet in src/Plugin/simple_sitemap/UrlGenerator/ViewsUrlGenerator.php

File

src/Plugin/simple_sitemap/UrlGenerator/ViewsUrlGenerator.php, line 307
Contains Views URL generator.

Class

ViewsUrlGenerator
Views URL generator plugin.

Namespace

Drupal\simple_sitemap_views\Plugin\simple_sitemap\UrlGenerator

Code

protected function markIndexToDelete(array $data_set) {
  if (!empty($data_set['index_id'])) {
    $index_id = $data_set['index_id'];
    $this->indexesToDelete[$index_id] = $index_id;
  }
}