You are here

protected function ReadOnlyConfigTest::turnOffReadOnlySetting in Configuration Read-only mode 8

Turn off read-only mode.

File

tests/src/Functional/ReadOnlyConfigTest.php, line 65

Class

ReadOnlyConfigTest
Tests read-only module config functionality.

Namespace

Drupal\Tests\config_readonly\Functional

Code

protected function turnOffReadOnlySetting() {
  $settings['settings']['config_readonly'] = (object) [
    'value' => FALSE,
    'required' => TRUE,
  ];
  $this
    ->writeSettings($settings);
}