/** * Displays the edit feature form. */ public function featureEdit(NodeInterface $node, $fid, $pfid) { $func = uc_product_feature_data($fid, 'callback'); $form_state = new FormState(); $form_state->setBuildInfo(array('args' => array($node, uc_product_feature_load($pfid)))); return $this->formBuilder()->buildForm($func, $form_state); }