You are here

public function TestExtension::setExtensionDiscovery in Drupal 9

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

Parameters

\Drupal\Core\Extension\ExtensionDiscovery $extension_discovery:

File

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

Class

TestExtension

Namespace

Drupal\Tests\Core\Extension

Code

public function setExtensionDiscovery(ExtensionDiscovery $extension_discovery) {
  $this->extensionDiscovery = $extension_discovery;
}