function BrowserTestBase::setDebugDumpHandler

Registers the dumper CLI handler when the DebugDump extension is enabled.

File

core/tests/Drupal/Tests/BrowserTestBase.php, line 196

Class

BrowserTestBase
Provides a test case for functional Drupal tests.

Namespace

Drupal\Tests

Code

public static function setDebugDumpHandler() : void {
    if (DebugDump::isEnabled()) {
        VarDumper::setHandler(DebugDump::class . '::cliHandler');
    }
}

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