protected function TestExtension::getExtensionDiscovery in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\TestExtension::getExtensionDiscovery()
Returns the extension discovery.
Return value
\Drupal\Core\Extension\ExtensionDiscovery
Overrides ExtensionList::getExtensionDiscovery
File
- core/
tests/ Drupal/ Tests/ Core/ Extension/ ExtensionListTest.php, line 355
Class
Namespace
Drupal\Tests\Core\ExtensionCode
protected function getExtensionDiscovery() {
return $this->extensionDiscovery ?: parent::getExtensionDiscovery();
}