function DeprecationHandler::isEnabled

Determines if the extension is enabled.

Return value

bool TRUE if enabled, FALSE if disabled.

4 calls to DeprecationHandler::isEnabled()
BootstrapErrorHandler::__invoke in core/tests/Drupal/TestTools/ErrorHandler/BootstrapErrorHandler.php
Executes when the object is called as a function.
DeprecationHandler::init in core/tests/Drupal/TestTools/Extension/DeprecationBridge/DeprecationHandler.php
Initializes the extension.
DrupalTestCaseTrait::checkErrorHandlerOnTearDown in core/tests/Drupal/Tests/DrupalTestCaseTrait.php
Checks the test error handler after test execution.
TestErrorHandler::__invoke in core/tests/Drupal/TestTools/ErrorHandler/TestErrorHandler.php
Executes when the object is called as a function.

File

core/tests/Drupal/TestTools/Extension/DeprecationBridge/DeprecationHandler.php, line 76

Class

DeprecationHandler
Drupal's PHPUnit extension to manage code deprecation.

Namespace

Drupal\TestTools\Extension\DeprecationBridge

Code

public static function isEnabled() : bool {
  return self::$enabled;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.