function dsBaseTest::dsSelectClasses in Display Suite 7.2
Same name and namespace in other branches
- 7 tests/ds.base.test \dsBaseTest::dsSelectClasses()
Configure classes on a layout.
1 call to dsBaseTest::dsSelectClasses()
- dsLayoutsClassesTests::testDStestLayouts in tests/
ds.base.test - Test selecting layouts, classes, region to block and fields.
File
- tests/
ds.base.test, line 66 - Base functions and tests for Display Suite.
Class
- dsBaseTest
- @file Base functions and tests for Display Suite.
Code
function dsSelectClasses($edit = array(), $url = 'admin/structure/types/manage/article/display') {
$edit += array(
"additional_settings[header][]" => 'class_name_1',
"additional_settings[footer][]" => 'class_name_2',
);
$this
->drupalPost($url, $edit, t('Save'));
}