You are here

protected function FormSubmitter::drupalInstallationAttempted in Drupal 8

Wraps drupal_installation_attempted().

Return value

bool

Deprecated

in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Installer\InstallerKernel::installationAttempted() instead.

See also

https://www.drupal.org/node/3035275

\Drupal\Core\Installer\InstallerKernel::installationAttempted()

File

core/lib/Drupal/Core/Form/FormSubmitter.php, line 161

Class

FormSubmitter
Provides submission processing for forms.

Namespace

Drupal\Core\Form

Code

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();
}