You are here

final public function ArrayIndexer::getMultiple in Drupal 7 to 8/9 Module Upgrader 8

Overrides IndexerBase::getMultiple

File

src/ArrayIndexer.php, line 43

Class

ArrayIndexer

Namespace

Drupal\drupalmoduleupgrader

Code

public final function getMultiple(array $keys) {
  $values = [];
  foreach ($keys as $key) {
    if (array_key_exists($key, $this->elements)) {
      $values[$key] = $this
        ->get($key);
    }
  }
  return $values;
}