function ContentLanguageSettingsUnitTest::testLanguageAlterable
Same name in other branches
- 8.9.x core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php \Drupal\Tests\language\Unit\ContentLanguageSettingsUnitTest::testLanguageAlterable()
- 10 core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php \Drupal\Tests\language\Unit\ContentLanguageSettingsUnitTest::testLanguageAlterable()
- 11.x core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php \Drupal\Tests\language\Unit\ContentLanguageSettingsUnitTest::testLanguageAlterable()
@covers ::setLanguageAlterable @covers ::isLanguageAlterable
@dataProvider providerLanguageAlterable
File
-
core/
modules/ language/ tests/ src/ Unit/ ContentLanguageSettingsUnitTest.php, line 174
Class
- ContentLanguageSettingsUnitTest
- @coversDefaultClass \Drupal\language\Entity\ContentLanguageSettings @group language
Namespace
Drupal\Tests\language\UnitCode
public function testLanguageAlterable(ContentLanguageSettings $config, $expected) {
$this->assertSame($expected, $config->isLanguageAlterable());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.