You are here

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

Overrides IndexerInterface::deleteFile

File

src/IndexerBase.php, line 141

Class

IndexerBase
Base class for indexers.

Namespace

Drupal\drupalmoduleupgrader

Code

public function deleteFile($path) {
  $this->db
    ->delete($this->table)
    ->condition('file', $path)
    ->execute();
}