protected function TestExtension::getExtensionDiscovery in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\TestExtension::getExtensionDiscovery()
- 9 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 356
Class
Namespace
Drupal\Tests\Core\ExtensionCode
protected function getExtensionDiscovery() {
return $this->extensionDiscovery ?: parent::getExtensionDiscovery();
}