ContextMapperInterface.php in Page Manager 8
Same filename and directory in other branches
Namespace
Drupal\page_managerFile
src/ContextMapperInterface.phpView source
<?php
/**
* @file
* Contains \Drupal\page_manager\ContextMapperInterface.
*/
namespace Drupal\page_manager;
/**
* Provides an interface for mapping context configurations to context objects.
*/
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);
}
Interfaces
Name![]() |
Description |
---|---|
ContextMapperInterface | Provides an interface for mapping context configurations to context objects. |