You are here

interface IndexerInterface in Drupal 7 to 8/9 Module Upgrader 8

Interface for plugins which can scan a target module to collect information about what it contains. Indexers are always run before other plugin types, and all available indexers are always run. All information collected by indexers is available to the other plugin types via TargetInterface's getIndexer() method.

Hierarchy

Expanded class hierarchy of IndexerInterface

All classes that implement IndexerInterface

1 string reference to 'IndexerInterface'
drupalmoduleupgrader.services.yml in ./drupalmoduleupgrader.services.yml
drupalmoduleupgrader.services.yml

File

src/IndexerInterface.php, line 14

Namespace

Drupal\drupalmoduleupgrader
View source
interface IndexerInterface {
  public function bind(TargetInterface $module);
  public function build();
  public function clear();
  public function destroy();
  public function has($identifier);
  public function hasAny(array $identifiers);
  public function hasAll(array $identifiers);
  public function addFile($path);
  public function add(NodeInterface $node);
  public function deleteFile($path);
  public function delete($identifier);
  public function get($identifier);
  public function getMultiple(array $identifiers);
  public function getAll();
  public function getFields();
  public function getQuery(array $fields = []);

}

Members

Namesort descending Modifiers Type Description Overrides
IndexerInterface::add public function 1
IndexerInterface::addFile public function 4
IndexerInterface::bind public function 1
IndexerInterface::build public function 1
IndexerInterface::clear public function 1
IndexerInterface::delete public function 1
IndexerInterface::deleteFile public function 1
IndexerInterface::destroy public function 1
IndexerInterface::get public function 4
IndexerInterface::getAll public function 1
IndexerInterface::getFields public function 1
IndexerInterface::getMultiple public function 1
IndexerInterface::getQuery public function 1
IndexerInterface::has public function 1
IndexerInterface::hasAll public function 1
IndexerInterface::hasAny public function 1