public function TestSubContext::disablePanopolyAdminAdvanacedPanelPlugins in Panopoly 7
Same name and namespace in other branches
- 8.2 modules/panopoly/panopoly_test/behat/steps/panopoly_test.behat.inc \TestSubContext::disablePanopolyAdminAdvanacedPanelPlugins()
Disable the "Use Advanced Panel Panes" option.
@Given Panopoly admin "Use Advanced Panel Plugins" is disabled
File
- modules/
panopoly/ panopoly_test/ behat/ steps/ panopoly_test.behat.inc, line 644 - Provide Behat step-definitions for generic Panopoly tests.
Class
Code
public function disablePanopolyAdminAdvanacedPanelPlugins() {
if (empty($this->configVariables['panopoly_admin_advanced_plugins'])) {
$this->configVariables['panopoly_admin_advanced_plugins'] = variable_get('panopoly_admin_advanced_plugins', 'not set');
}
variable_set('panopoly_admin_advanced_plugins', FALSE);
}