You are here

public function IndexerBase::delete in Drupal 7 to 8/9 Module Upgrader 8

Overrides IndexerInterface::delete

1 call to IndexerBase::delete()
Functions::delete in src/Plugin/DMU/Indexer/Functions.php
1 method overrides IndexerBase::delete()
Functions::delete in src/Plugin/DMU/Indexer/Functions.php

File

src/IndexerBase.php, line 151

Class

IndexerBase
Base class for indexers.

Namespace

Drupal\drupalmoduleupgrader

Code

public function delete($identifier) {
  $this->db
    ->delete($this->table)
    ->condition('id', $identifier)
    ->execute();
}