You are here

protected function UrlGeneratorBase::pathProcessed in Simple XML sitemap 8.2

Parameters

string $path:

Return value

bool

3 calls to UrlGeneratorBase::pathProcessed()
CustomUrlGenerator::processDataSet in src/Plugin/simple_sitemap/UrlGenerator/CustomUrlGenerator.php
@inheritdoc
EntityMenuLinkContentUrlGenerator::processDataSet in src/Plugin/simple_sitemap/UrlGenerator/EntityMenuLinkContentUrlGenerator.php
@inheritdoc
EntityUrlGenerator::processDataSet in src/Plugin/simple_sitemap/UrlGenerator/EntityUrlGenerator.php
@inheritdoc

File

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

Class

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

Namespace

Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator

Code

protected function pathProcessed($path) {
  if (in_array($path, $this
    ->getProcessedElements())) {
    return TRUE;
  }
  $this
    ->addProcessedElement($path);
  return FALSE;
}