function DebugDump::isEnabled
Determines if the extension is enabled.
Return value
bool TRUE if enabled, FALSE if disabled.
5 calls to DebugDump::isEnabled()
- BrowserTestBase::setDebugDumpHandler in core/
tests/ Drupal/ Tests/ BrowserTestBase.php - Registers the dumper CLI handler when the DebugDump extension is enabled.
- DebugDump::cliHandler in core/
tests/ Drupal/ TestTools/ Extension/ Dump/ DebugDump.php - A CLI handler for \Symfony\Component\VarDumper\VarDumper.
- DebugDump::getDumps in core/
tests/ Drupal/ TestTools/ Extension/ Dump/ DebugDump.php - Retrieves dumps from storage.
- KernelTestBase::setDebugDumpHandler in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Registers the dumper CLI handler when the DebugDump extension is enabled.
- UnitTestCase::setDebugDumpHandler in core/
tests/ Drupal/ Tests/ UnitTestCase.php - Registers the dumper CLI handler when the DebugDump extension is enabled.
File
-
core/
tests/ Drupal/ TestTools/ Extension/ Dump/ DebugDump.php, line 74
Class
- DebugDump
- Drupal's extension for printing dump() output results.
Namespace
Drupal\TestTools\Extension\DumpCode
public static function isEnabled() : bool {
return getenv('DRUPAL_PHPUNIT_DUMPER_CONFIG') !== FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.