You are here

public function StateInterface::getMultiple in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::getMultiple()
  2. 9 core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::getMultiple()

Returns the stored key/value pairs for a given set of keys.

Parameters

array $keys: A list of keys to retrieve.

Return value

array An associative array of items successfully returned, indexed by key.

File

core/lib/Drupal/Core/State/StateInterface.php, line 34

Class

StateInterface
Defines the interface for the state system.

Namespace

Drupal\Core\State

Code

public function getMultiple(array $keys);