function StateInterface::getMultiple

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::getMultiple()
  2. 8.9.x core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::getMultiple()
  3. 10 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.

1 method overrides StateInterface::getMultiple()
State::getMultiple in core/lib/Drupal/Core/State/State.php
Returns the stored key/value pairs for a given set of keys.

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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.