/** * Enables or disables the display of experimental apps * @param bool $state * @return DataResponse */ public function changeExperimentalConfigState($state) { $this->config->setSystemValue('appstore.experimental.enabled', $state); $this->appManager->clearAppsCache(); return new DataResponse(); }