function TestExtension::setInstalledExtensions

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\TestExtension::setInstalledExtensions()
  2. 8.9.x core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\TestExtension::setInstalledExtensions()
  3. 10 core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\TestExtension::setInstalledExtensions()

File

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

Class

TestExtension

Namespace

Drupal\Tests\Core\Extension

Code

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

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