/** * @covers ::delete */ public function testDelete() { $this->cacheTagsInvalidator->expects($this->once())->method('invalidateTags')->with(['config:config.test']); $this->configTranslation->initWithData([]); $this->configTranslation->delete(); }
/** * {@inheritdoc} */ public function getOverride($langcode, $name) { $storage = $this->getStorage($langcode); $data = $storage->read($name); $override = new LanguageConfigOverride($name, $storage, $this->typedConfigManager); if (!empty($data)) { $override->initWithData($data); } return $override; }