/** * Deletes config by provided plugin key and config name. * * @param string $key * @param string $name */ public function deleteConfig($key, $name) { $this->configService->removeConfig($key, $name); $this->generateCache(); }