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

Breadcrumb

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

function ConfigDataCollector::isDebug

Returns true if the debug is enabled.

Return value

bool|string true if debug is enabled, false otherwise or a string if no kernel was set

File

vendor/symfony/http-kernel/DataCollector/ConfigDataCollector.php, line 187

Class

ConfigDataCollector
@author Fabien Potencier <fabien@symfony.com>

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

public function isDebug() : bool|string {
    return $this->data['debug'];
}

API Navigation

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