b583817e79a6a5ed533a5213185701f31d8400ca
[yaffs-website] / ContextMapperInterface.php
1 <?php
2
3 namespace Drupal\ctools;
4
5 /**
6  * Provides an interface for mapping context configurations to context objects.
7  */
8 interface ContextMapperInterface {
9
10   /**
11    * Gathers the static context values.
12    *
13    * @param array[] $static_context_configurations
14    *   An array of static context configurations.
15    *
16    * @return \Drupal\Component\Plugin\Context\ContextInterface[]
17    *   An array of set context values, keyed by context name.
18    */
19   public function getContextValues(array $static_context_configurations);
20
21 }