Issue #2299427 by tim.plunkett, amitgoyal, joshi.rohit100: Remove drupal_build_form() once all its usage is removed as it is deprecated.
parent
12c2fbbe01
commit
447cfbf1c1
|
@ -131,18 +131,6 @@ use Symfony\Component\HttpFoundation\RedirectResponse;
|
|||
* $form_state keys.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Builds and processes a form for a given form ID.
|
||||
*
|
||||
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
|
||||
* Use \Drupal::formBuilder()->buildForm().
|
||||
*
|
||||
* @see \Drupal\Core\Form\FormBuilderInterface::buildForm().
|
||||
*/
|
||||
function drupal_build_form($form_id, &$form_state) {
|
||||
return \Drupal::formBuilder()->buildForm($form_id, $form_state);
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetches a form from the cache.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue