Unverified Commit fbcb162e authored by alexpott's avatar alexpott
Browse files

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

parent 5d457e37
......@@ -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().
*/
......
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