function ConfigImporterMissingContentTest::log

Same name in other branches
  1. 11.x core/tests/Drupal/KernelTests/Core/Config/ConfigImporterMissingContentTest.php \Drupal\KernelTests\Core\Config\ConfigImporterMissingContentTest::log()

Overrides RfcLoggerTrait::log

File

core/tests/Drupal/KernelTests/Core/Config/ConfigImporterMissingContentTest.php, line 194

Class

ConfigImporterMissingContentTest
Tests importing configuration which has missing content dependencies.

Namespace

Drupal\KernelTests\Core\Config

Code

public function log($level, $message, array $context = []) : void {
    $this->logMessages[] = PlainTextOutput::renderFromHtml(new FormattableMarkup($message, $context));
}

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