Unverified Commit fbcb162e authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3113582 by Hardik_Patel_12: Remove all @deprecated code from Drupal/Core/Form/

parent 5d457e37
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@

namespace Drupal\Core\Form;

use Drupal\Core\Installer\InstallerKernel;
use Drupal\Core\Url;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\RequestStack;
@@ -146,23 +145,6 @@ public function redirectForm(FormStateInterface $form_state) {
    }
  }

  /**
   * Wraps drupal_installation_attempted().
   *
   * @return bool
   *
   * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0.
   *   Use \Drupal\Core\Installer\InstallerKernel::installationAttempted()
   *   instead.
   *
   * @see https://www.drupal.org/node/3035275
   * @see \Drupal\Core\Installer\InstallerKernel::installationAttempted()
   */
  protected function drupalInstallationAttempted() {
    @trigger_error(__METHOD__ . '() is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Installer\InstallerKernel::installationAttempted() instead. See https://www.drupal.org/node/3035275', E_USER_DEPRECATED);
    return InstallerKernel::installationAttempted();
  }

  /**
   * Wraps batch_get().
   */