interface ContextMapperInterface in Chaos Tool Suite (ctools) 8.3
Provides an interface for mapping context configurations to context objects.
Hierarchy
- interface \Drupal\ctools\ContextMapperInterface
Expanded class hierarchy of ContextMapperInterface
All classes that implement ContextMapperInterface
File
- src/
ContextMapperInterface.php, line 8
Namespace
Drupal\ctoolsView source
interface ContextMapperInterface {
/**
* Gathers the static context values.
*
* @param array[] $static_context_configurations
* An array of static context configurations.
*
* @return \Drupal\Component\Plugin\Context\ContextInterface[]
* An array of set context values, keyed by context name.
*/
public function getContextValues(array $static_context_configurations);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContextMapperInterface:: |
public | function | Gathers the static context values. | 1 |