initIds('infoForm'); $this->setFormType(FormConstants::READ); $this->setProvider(new InfoSettingDataProvider()); $this->initFields(); $this->loadDataToForm(); } public function getAllowedActions() { return ['info']; } private function initFields() { $this->addSection(new GeneralSection()); $this->addSection(new AdditionalSection()); } }