3 namespace Drupal\ctools;
6 * Provides an interface for mapping context configurations to context objects.
8 interface ContextMapperInterface {
11 * Gathers the static context values.
13 * @param array[] $static_context_configurations
14 * An array of static context configurations.
16 * @return \Drupal\Component\Plugin\Context\ContextInterface[]
17 * An array of set context values, keyed by context name.
19 public function getContextValues(array $static_context_configurations);