function HtmlOutputLogger::isEnabled

Determines if the extension is enabled.

Return value

bool TRUE if enabled, FALSE if disabled.

4 calls to HtmlOutputLogger::isEnabled()
BrowserHtmlDebugTrait::initBrowserOutputFile in core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php
Creates the directory to store browser output.
HtmlOutputLogger::log in core/tests/Drupal/TestTools/Extension/HtmlLogging/HtmlOutputLogger.php
Logs a link to a generated HTML page.
HtmlOutputLogger::testRunnerFinished in core/tests/Drupal/TestTools/Extension/HtmlLogging/HtmlOutputLogger.php
Prints the list of HTML output generated during the test.
HtmlOutputLogger::testRunnerStarted in core/tests/Drupal/TestTools/Extension/HtmlLogging/HtmlOutputLogger.php
Empties the list of the HTML output created during the test run.

File

core/tests/Drupal/TestTools/Extension/HtmlLogging/HtmlOutputLogger.php, line 74

Class

HtmlOutputLogger
Drupal's extension for providing HTML output results for functional tests.

Namespace

Drupal\TestTools\Extension\HtmlLogging

Code

public static function isEnabled() : bool {
    return self::$instance !== NULL;
}

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