function ContentLanguageSettingsUnitTest::testIsDefaultConfiguration
Same name and namespace in other branches
- 10 core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php \Drupal\Tests\language\Unit\ContentLanguageSettingsUnitTest::testIsDefaultConfiguration()
- 11.x core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php \Drupal\Tests\language\Unit\ContentLanguageSettingsUnitTest::testIsDefaultConfiguration()
- 9 core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php \Drupal\Tests\language\Unit\ContentLanguageSettingsUnitTest::testIsDefaultConfiguration()
- 8.9.x core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php \Drupal\Tests\language\Unit\ContentLanguageSettingsUnitTest::testIsDefaultConfiguration()
Tests is default configuration.
Attributes
#[DataProvider('providerIsDefaultConfiguration')]
File
-
core/
modules/ language/ tests/ src/ Unit/ ContentLanguageSettingsUnitTest.php, line 227
Class
Namespace
Drupal\Tests\language\UnitCode
public function testIsDefaultConfiguration(ContentLanguageSettings $config, $expected) : void {
$this->assertSame($expected, $config->isDefaultConfiguration());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.