interface ContextMapperInterface in Page Manager 8
Same name and namespace in other branches
- 8.4 src/ContextMapperInterface.php \Drupal\page_manager\ContextMapperInterface
Provides an interface for mapping context configurations to context objects.
Hierarchy
- interface \Drupal\page_manager\ContextMapperInterface
Expanded class hierarchy of ContextMapperInterface
All classes that implement ContextMapperInterface
1 file declares its use of ContextMapperInterface
- PageVariantTest.php in tests/
src/ Unit/ PageVariantTest.php - Contains \Drupal\Tests\page_manager\Unit\PageVariantTest.
File
- src/
ContextMapperInterface.php, line 13 - Contains \Drupal\page_manager\ContextMapperInterface.
Namespace
Drupal\page_managerView 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 |