function ContentLanguageSettingsUnitTest::testLanguageAlterable
Tests language alterable.
@legacy-covers ::setLanguageAlterable @legacy-covers ::isLanguageAlterable
Attributes
#[DataProvider('providerLanguageAlterable')]
File
-
core/
modules/ language/ tests/ src/ Unit/ ContentLanguageSettingsUnitTest.php, line 195
Class
Namespace
Drupal\Tests\language\UnitCode
public function testLanguageAlterable(ContentLanguageSettings $config, $expected) : void {
$this->assertSame($expected, $config->isLanguageAlterable());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.