function LanguageConfigOverrideTest::testSaveNew
Tests save new.
@legacy-covers ::save
File
-
core/
modules/ language/ tests/ src/ Unit/ Config/ LanguageConfigOverrideTest.php, line 78
Class
Namespace
Drupal\Tests\language\Unit\ConfigCode
public function testSaveNew() : void {
$this->cacheTagsInvalidator
->expects($this->once())
->method('invalidateTags')
->with([
'config:config.test',
]);
$this->assertTrue($this->configTranslation
->isNew());
$this->configTranslation
->save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.