protected function RevisionAllBase::saveSettings in Revision All 7.2
Submits the revision_all settings form with the supplied settings.
Parameters
array $settings The form settings to be POSTed.:
7 calls to RevisionAllBase::saveSettings()
- RevisionAllBase::setUp in tests/
revision_all.test - Implements setUp. Creates a user with 'administer site configuration' permissions as well as any other permissions passed in. Also enables all revision_all settings.
- RevisionAllBasicTests::testSettingsSaving in tests/
revision_all.test - Tests that revision_all settings are properly saved in the database when the form is submitted.
- RevisionAllPreventNodeOverrideTests::setUp in tests/
revision_all.test - Implements setUp();
- RevisionAllPreventTypeOverrideTests::setUp in tests/
revision_all.test - Implements setUp();
- RevisionAllTypeRevisioningTests::testRevisionSelectBaseType in tests/
revision_all.test - Tests the built-in content type behavior when only some content types are selected.
File
- tests/
revision_all.test, line 59 - Tests for Revision All module.
Class
- RevisionAllBase
- Defines a base class of DrupalWebTestCase and does general setup.
Code
protected function saveSettings($settings = array()) {
$this
->drupalPost('admin/config/content/revision-all', $settings, 'Save configuration');
}