function TestExtension::setInstalledExtensions

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\TestExtension::setInstalledExtensions()
  2. 10 core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\TestExtension::setInstalledExtensions()
  3. 11.x 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;
}

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