Commit 4f246c7e authored by alexpott's avatar alexpott

Issue #2300847 by joshi.rohit100: Remove drupal_get_form() as it is deprecated.

parent 463bebdc
......@@ -130,18 +130,6 @@
* $form_state keys.
*/
/**
* Returns a renderable form array for a given form ID.
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
* Use \Drupal::formBuilder()->getForm().
*
* @see \Drupal\Core\Form\FormBuilderInterface::getForm().
*/
function drupal_get_form($form_arg) {
return call_user_func_array(array(\Drupal::formBuilder(), 'getForm'), func_get_args());
}
/**
* Builds and processes a form for a given form ID.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment