navigationManager = $navigationManager; $this->settingsManager = $settingsManager; $this->userSession = $userSession; $this->groupManager = $groupManager; $this->subAdmin = $subAdmin; $this->declarativeSettingsManager = $declarativeSettingsManager; $this->initialState = $initialState; } /** * @NoSubAdminRequired * We are checking the permissions in the getSettings method. If there is no allowed * settings for the given section. The user will be greeted by an error message. */ #[NoAdminRequired] #[NoCSRFRequired] public function index(string $section): TemplateResponse { return $this->getIndexResponse( 'admin', $section, ); } }