function TestExtension::getExtensionDiscovery

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\TestExtension::getExtensionDiscovery()
  2. 10 core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\TestExtension::getExtensionDiscovery()
  3. 11.x core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\TestExtension::getExtensionDiscovery()

Overrides ExtensionList::getExtensionDiscovery

File

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

Class

TestExtension

Namespace

Drupal\Tests\Core\Extension

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.