/** * Set the form mode. * * @param $mode * @return $this */ public function setFormMode($mode) { $this->form->setMode($mode); return $this; }