From 041c25557b20e24b5b14603e58b3746412b4ee29 Mon Sep 17 00:00:00 2001 From: Alex Naumenko Date: Sun, 2 Nov 2014 12:27:24 +0200 Subject: [PATCH 1/2] Fix vagrant config --- puphpet/config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/puphpet/config.yaml b/puphpet/config.yaml index 44f9d9d4..ab123f73 100755 --- a/puphpet/config.yaml +++ b/puphpet/config.yaml @@ -30,6 +30,7 @@ vagrantfile-local: - '--parser future' synced_folder: 8Q9vTs08YuK2: + id: vagrant-root source: ./ target: /var/www nfs: 'true' From 2282bc6b67135c9eb7c60470a3492cb4a300ec7e Mon Sep 17 00:00:00 2001 From: Alex Naumenko Date: Sun, 2 Nov 2014 15:03:25 +0200 Subject: [PATCH 2/2] Remove usage of drupal_form_submit() --- drupal/core/includes/form.inc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drupal/core/includes/form.inc b/drupal/core/includes/form.inc index 0bffd396..48aee75c 100644 --- a/drupal/core/includes/form.inc +++ b/drupal/core/includes/form.inc @@ -17,18 +17,6 @@ use Drupal\Core\Render\Element; use Drupal\Core\Template\Attribute; use Symfony\Component\HttpFoundation\RedirectResponse; -/** - * Retrieves, populates, and processes a form. - * - * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0. - * Use \Drupal::formBuilder()->submitForm(). - * - * @see \Drupal\Core\Form\FormBuilderInterface::submitForm(). - */ -function drupal_form_submit($form_arg, FormStateInterface $form_state) { - \Drupal::formBuilder()->submitForm($form_arg, $form_state); -} - /** * Processes a form submission. *