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

Breadcrumb

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

function Environment::isDebug

Checks if debug mode is enabled.

Return value

bool true if debug mode is enabled, false otherwise

File

vendor/twig/twig/src/Environment.php, line 179

Class

Environment
Stores the Twig configuration and renders templates.

Namespace

Twig

Code

public function isDebug() {
    return $this->debug;
}
RSS feed
Powered by Drupal