InstallerRedirectTrait
trait InstallerRedirectTrait (View source)
Provides methods for checking if Drupal is already installed.
Methods
bool
isCli()
Returns whether the current PHP process runs on CLI.
bool
shouldRedirectToInstaller(Exception $exception, Connection $connection = NULL)
Determines if an exception handler should redirect to the installer.
Details
protected bool
isCli()
Returns whether the current PHP process runs on CLI.
protected bool
shouldRedirectToInstaller(Exception $exception, Connection $connection = NULL)
Determines if an exception handler should redirect to the installer.