function ContentLanguageSettingsUnitTest::testIsDefaultConfiguration

Tests is default configuration.

@legacy-covers ::isDefaultConfiguration

Attributes

#[DataProvider('providerIsDefaultConfiguration')]

File

core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php, line 233

Class

ContentLanguageSettingsUnitTest
Tests Drupal\language\Entity\ContentLanguageSettings.

Namespace

Drupal\Tests\language\Unit

Code

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.