You are here

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

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

Perform a mass update of sitemap data.

If visible links are updated, this will automatically set the regenerate needed flag to TRUE.

Parameters

array $updates: An array of values to update fields to, keyed by field name.

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

bool $check_flag: An bool with check flag.

Return value

int The number of links that were updated.

1 method overrides XmlSitemapLinkStorageInterface::updateMultiple()
XmlSitemapLinkStorage::updateMultiple in src/XmlSitemapLinkStorage.php
Perform a mass update of sitemap data.

File

src/XmlSitemapLinkStorageInterface.php, line 114

Class

XmlSitemapLinkStorageInterface
Provides an interface defining a XmlSitemapLinkStorage service.

Namespace

Drupal\xmlsitemap

Code

public function updateMultiple(array $updates = [], array $conditions = [], $check_flag = TRUE);