public function TestExtension::setExtensionDiscovery in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\TestExtension::setExtensionDiscovery()
- 9 core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\TestExtension::setExtensionDiscovery()
Parameters
\Drupal\Core\Extension\ExtensionDiscovery $extension_discovery: The extension discovery class.
File
- core/
tests/ Drupal/ Tests/ Core/ Extension/ ExtensionListTest.php, line 338
Class
Namespace
Drupal\Tests\Core\ExtensionCode
public function setExtensionDiscovery(ExtensionDiscovery $extension_discovery) {
$this->extensionDiscovery = $extension_discovery;
}