You are here

public function XmlSitemapLinkStorageInterface::deleteMultiple in XML sitemap 8

Same name and namespace in other branches
  1. 2.x src/XmlSitemapLinkStorageInterface.php \Drupal\xmlsitemap\XmlSitemapLinkStorageInterface::deleteMultiple()

Delete multiple sitemap links from the database.

If visible sitemap links were deleted, this will automatically set the regenerate needed flag.

Parameters

array $conditions: An array of conditions on the {xmlsitemap} table in the form 'field' => $value.

Return value

int The number of links that were deleted.

1 method overrides XmlSitemapLinkStorageInterface::deleteMultiple()
XmlSitemapLinkStorage::deleteMultiple in src/XmlSitemapLinkStorage.php
Delete multiple sitemap links from the database.

File

src/XmlSitemapLinkStorageInterface.php, line 96

Class

XmlSitemapLinkStorageInterface
Provides an interface defining a XmlSitemapLinkStorage service.

Namespace

Drupal\xmlsitemap

Code

public function deleteMultiple(array $conditions);