public function TestSubContext::enablePanopolyAdminAdvanacedPanelPlugins in Panopoly 7
Same name and namespace in other branches
- 8.2 modules/panopoly/panopoly_test/behat/steps/panopoly_test.behat.inc \TestSubContext::enablePanopolyAdminAdvanacedPanelPlugins()
Enable the "Use Advanced Panel Panes" option.
@Given Panopoly admin "Use Advanced Panel Plugins" is enabled
File
- modules/
panopoly/ panopoly_test/ behat/ steps/ panopoly_test.behat.inc, line 656 - Provide Behat step-definitions for generic Panopoly tests.
Class
Code
public function enablePanopolyAdminAdvanacedPanelPlugins() {
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', TRUE);
}