public function getFormById($id, $type, $typeId, $locale = null, $name = 'form')
    {
        $form = $this->formBuilder->build((int) $id, $type, $typeId, $locale, $name);

        if (!$form) {
            return;
        }

        return $form->createView();
    }