protected function PanelsEverywhereTestHelper::enableBartik in Panels Everywhere 7
Enable support for the core
9 calls to PanelsEverywhereTestHelper::enableBartik()
- PanelsEverywhereBasicsTestCase::testDefaultDisplay in tests/
PanelsEverywhereBasicsTestCase.test - Confirm the default display loads the correct panes.
- PanelsEverywhereBasicsTestCase::testFrontPage in tests/
PanelsEverywhereBasicsTestCase.test - Ensure the front page loads correctly when PE is enabled for a theme.
- PanelsEverywhereBasicsTestCase::testSearch in tests/
PanelsEverywhereBasicsTestCase.test - Ensure the search form loads correctly when PE is enabled for a theme.
- PanelsEverywhereNodeEditTestCase::testSearchWithoutPanels in tests/
PanelsEverywhereNodeEditTestCase.test - Confirm that the search form works from a node-add page.
- PanelsEverywhereNodeEditTestCase::testSearchWithPanels in tests/
PanelsEverywhereNodeEditTestCase.test - Confirm that the search form works from a Panels node-add page.
File
- tests/
PanelsEverywhereTestHelper.test, line 42 - Some helper functions for the other tests.
Class
- PanelsEverywhereTestHelper
- @file Some helper functions for the other tests.
Code
protected function enableBartik() {
// Enable PE and limit it to just the Bartik theme.
variable_set('panels_everywhere_site_template_enabled', TRUE);
variable_set('panels_everywhere_provide_sample', TRUE);
variable_set('panels_everywhere_site_template_per_theme', TRUE);
variable_set('panels_everywhere_override_theme_bartik', TRUE);
// Clear the caches so that the default display kicks in.
drupal_flush_all_caches();
}