Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TestRunnerKernel.php

function TestRunnerKernel::createFromRequest

Overrides DrupalKernel::createFromRequest

1 call to TestRunnerKernel::createFromRequest()
FunctionalTestSetupTrait::prepareEnvironment in core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php
Prepares the current environment for running the test.

File

core/lib/Drupal/Core/Test/TestRunnerKernel.php, line 21

Class

TestRunnerKernel
Defines a kernel used for running Functional tests and run-tests.sh.

Namespace

Drupal\Core\Test

Code

public static function createFromRequest(Request $request, $class_loader, $environment = 'test_runner', $allow_dumping = TRUE, $app_root = NULL) {
    return parent::createFromRequest($request, $class_loader, $environment, $allow_dumping, $app_root);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal