Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. XdebugHandler.php

function XdebugHandler::requiresRestart

Allows an extending class to decide if there should be a restart

The default is to restart if Xdebug is loaded and its mode is not "off".

1 call to XdebugHandler::requiresRestart()
XdebugHandler::check in vendor/composer/xdebug-handler/src/XdebugHandler.php
Checks if Xdebug is loaded and the process needs to be restarted

File

vendor/composer/xdebug-handler/src/XdebugHandler.php, line 262

Class

XdebugHandler
@author John Stevenson <john-stevenson@blueyonder.co.uk>

Namespace

Composer\XdebugHandler

Code

protected function requiresRestart(bool $default) : bool {
    return $default;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal