public function TestSubContext::restoreConfig in Panopoly 8.2
Same name and namespace in other branches
- 7 modules/panopoly/panopoly_test/behat/steps/panopoly_test.behat.inc \TestSubContext::restoreConfig()
Restore saved preview configurations or other variables.
@AfterScenario @api
File
- modules/
panopoly/ panopoly_test/ behat/ steps/ panopoly_test.behat.inc, line 122 - Provide Behat step-definitions for generic Panopoly tests.
Class
- TestSubContext
- Behat sub-context for Panopoly.
Code
public function restoreConfig() {
if (count($this->configVariables) > 0) {
foreach ($this->configVariables as $key => $value) {
// @todo Implement for Drupal 8!
// This should restore any saved config to it's original values.
}
}
}