public function Configuration::setContext in Configuration Management 7.2
Set the context where a function is executed.
This function is called before call to the function callback in the iterate function.
Parameters
ConfigIteratorSettings $settings:
See also
iterate()
1 call to Configuration::setContext()
- Configuration::iterate in lib/
Drupal/ configuration/ Config/ Configuration.php - This function will exectute a callback function over all the configurations objects that it process.
File
- lib/
Drupal/ configuration/ Config/ Configuration.php, line 851 - Definition of Drupal\configuration\Config\Configuration.
Class
Namespace
Drupal\configuration\ConfigCode
public function setContext(ConfigIteratorSettings &$settings) {
$this->context = $settings;
}