You are here

protected function UrlGeneratorBase::needsInitialization in Simple XML sitemap 8.2

Return value

bool

3 calls to UrlGeneratorBase::needsInitialization()
EntityMenuLinkContentUrlGenerator::getBatchIterationElements in src/Plugin/simple_sitemap/UrlGenerator/EntityMenuLinkContentUrlGenerator.php
@inheritdoc
EntityUrlGenerator::getBatchIterationElements in src/Plugin/simple_sitemap/UrlGenerator/EntityUrlGenerator.php
@inheritdoc
UrlGeneratorBase::getBatchIterationElements in src/Plugin/simple_sitemap/UrlGenerator/UrlGeneratorBase.php

File

src/Plugin/simple_sitemap/UrlGenerator/UrlGeneratorBase.php, line 297

Class

UrlGeneratorBase
Class UrlGeneratorBase @package Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator

Namespace

Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator

Code

protected function needsInitialization() {
  return empty($this->context['sandbox']);
}