protected function MenuTreeStorage::doDeleteMultiple

protected MenuTreeStorage::doDeleteMultiple(array $ids)

Purge menu links from the database.

Parameters

array $ids: A list of menu link IDs to be purged.

File

core/lib/Drupal/Core/Menu/MenuTreeStorage.php, line 1473

Class

MenuTreeStorage
Provides a menu tree storage using the database.

Namespace

Drupal\Core\Menu

Code

protected function doDeleteMultiple(array $ids) {
  $this->connection->delete($this->table, $this->options)
    ->condition('id', $ids, 'IN')
    ->execute();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!MenuTreeStorage.php/function/MenuTreeStorage::doDeleteMultiple/8.1.x