public function IndexerBase::hasAll in Drupal 7 to 8/9 Module Upgrader 8
Overrides IndexerInterface::hasAll
1 call to IndexerBase::hasAll()
- Functions::hasAll in src/
Plugin/ DMU/ Indexer/ Functions.php
2 methods override IndexerBase::hasAll()
- ArrayIndexer::hasAll in src/
ArrayIndexer.php - Functions::hasAll in src/
Plugin/ DMU/ Indexer/ Functions.php
File
- src/
IndexerBase.php, line 115
Class
- IndexerBase
- Base class for indexers.
Namespace
Drupal\drupalmoduleupgraderCode
public function hasAll(array $identifiers) {
$count = $this
->getQuery()
->condition('id', $identifiers)
->countQuery()
->execute()
->fetchField();
return $count == sizeof(array_unique($identifiers));
}