You are here

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

Overrides IndexerInterface::clear

1 call to IndexerBase::clear()
IndexerBase::bind in src/IndexerBase.php

File

src/IndexerBase.php, line 83

Class

IndexerBase
Base class for indexers.

Namespace

Drupal\drupalmoduleupgrader

Code

public function clear() {
  $this->db
    ->truncate($this->table)
    ->execute();
}