You are here

public function TestExtension::setInstalledExtensions in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\TestExtension::setInstalledExtensions()
  2. 9 core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\TestExtension::setInstalledExtensions()

File

core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php, line 342

Class

TestExtension

Namespace

Drupal\Tests\Core\Extension

Code

public function setInstalledExtensions(array $extension_names) {
  $this->installedExtensions = $extension_names;
}