src/FormLayout/_Abstract.php
public function getField($name)
    {
        if (empty($this->form)) {
            throw new Exception(['Incorrect value for $form', 'form' => $this->form]);
        }

        return $this->form->getField($name);
    }
public function getField($name)
    {
        if (empty($this->form)) {
            throw new Exception(['Incorrect value for $form', 'form' => $this->form]);
        }

        return $this->form->getField($name);
    }
public function getField ( $ name ) { if ( empty ( $ this -> form ) ) { throw new Exception ( [ 'Incorrect value for $form' , 'form' => $ this -> form ] ) ; } return $ this -> form -> getField ( $ name ) ; }
Return Field decorator associated with
the form's field.

@param string $name

@return \atk4\ui\FormField\Generic
Return Field decorator associated with the form s field .