You are here

protected function TestExtension::getExtensionDiscovery in Drupal 8

Same name and namespace in other branches
  1. 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 355

Class

TestExtension

Namespace

Drupal\Tests\Core\Extension

Code

protected function getExtensionDiscovery() {
  return $this->extensionDiscovery ?: parent::getExtensionDiscovery();
}