config = $config; $this->userId = $userId; } public function getForm(): TemplateResponse { $parameters = [ 'epub_enable' => $this->config->getUserValue($this->userId, Application::APP_ID, 'epub_enable', 'false'), 'pdf_enable' => $this->config->getUserValue($this->userId, Application::APP_ID, 'pdf_enable', 'false'), 'cbx_enable' => $this->config->getUserValue($this->userId, Application::APP_ID, 'cbx_enable', 'false') ]; return new TemplateResponse(Application::APP_ID, 'personal', $parameters); } public function getSection(): string { return 'additional'; } public function getPriority(): int { return 90; } }