You are here

public function XmlSitemapLinkStorageInterface::checkChangedLinks in XML sitemap 2.x

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

Check if there is a visible sitemap link given a certain set of conditions.

Parameters

array $conditions: An array of values to match keyed by field.

array $updates: Updates to be made.

bool $flag: An optional boolean that if TRUE, will set the regenerate needed flag if there is a match. Defaults to FALSE.

Return value

bool TRUE if there is a visible link, or FALSE otherwise.

1 method overrides XmlSitemapLinkStorageInterface::checkChangedLinks()
XmlSitemapLinkStorage::checkChangedLinks in src/XmlSitemapLinkStorage.php
Check if there is a visible sitemap link given a certain set of conditions.

File

src/XmlSitemapLinkStorageInterface.php, line 62

Class

XmlSitemapLinkStorageInterface
Provides an interface defining a XmlSitemapLinkStorage service.

Namespace

Drupal\xmlsitemap

Code

public function checkChangedLinks(array $conditions = [], array $updates = [], $flag = FALSE);