setName('IcingaModuleIcingadbFormsSetAsBackendForm'); $this->setTokenDisabled(); // If you change name here, please change in migration.js also. } public function createElements(array $formData) { parent::createElements([]); $this->removeElement('btn_submit'); $this->removeElement('btn_submit_session'); } public function onSuccess() { $this->save($this->getElement('backend')->isChecked()); } }