function DatabaseDriverList::includeTestDrivers

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/Extension/DatabaseDriverList.php \Drupal\Core\Extension\DatabaseDriverList::includeTestDrivers()

Determines whether test drivers shall be included in the discovery.

Parameters

bool|null $includeTestDrivers: Whether to include test extensions. If FALSE, all 'tests' directories are excluded in the search. If NULL, it will be determined by the 'extension_discovery_scan_tests' setting.

Return value

$this

File

core/lib/Drupal/Core/Extension/DatabaseDriverList.php, line 57

Class

DatabaseDriverList
Provides a list of available database drivers.

Namespace

Drupal\Core\Extension

Code

public function includeTestDrivers(?bool $includeTestDrivers) : static {
    $this->includeTestDrivers = $includeTestDrivers;
    return $this;
}

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