You are here

protected function LanguageSelectionPageConditionTest::resetConfiguration in Language Selection Page 8.2

Reset the configuration to the initial state.

7 calls to LanguageSelectionPageConditionTest::resetConfiguration()
LanguageSelectionPageConditionTest::testAjax in tests/src/Functional/LanguageSelectionPageConditionTest.php
Test the "xml_http_request" condition.
LanguageSelectionPageConditionTest::testBlackListedPaths in tests/src/Functional/LanguageSelectionPageConditionTest.php
Test the "Blacklisted paths" condition.
LanguageSelectionPageConditionTest::testEnabledLanguages in tests/src/Functional/LanguageSelectionPageConditionTest.php
Test the "language prefixes" condition.
LanguageSelectionPageConditionTest::testIgnoreLanguageNeutral in tests/src/Functional/LanguageSelectionPageConditionTest.php
Test the "ignore language neutral" condition.
LanguageSelectionPageConditionTest::testPageTitle in tests/src/Functional/LanguageSelectionPageConditionTest.php
Test the "page title" condition.

... See full list

File

tests/src/Functional/LanguageSelectionPageConditionTest.php, line 375

Class

LanguageSelectionPageConditionTest
Tests that the condition plugins work.

Namespace

Drupal\Tests\language_selection_page\Functional

Code

protected function resetConfiguration() {
  $this
    ->config('language_selection_page.negotiation')
    ->setData($this->configOriginal)
    ->save();
}