public function Twig_Environment::isDebug

Checks if debug mode is enabled.

Return value

Boolean true if debug mode is enabled, false otherwise

File

drupal/core/vendor/twig/twig/lib/Twig/Environment.php, line 159

Class

Twig_Environment
Stores the Twig configuration.

Code

public function isDebug() {
  return $this->debug;
}