You are here

protected function ExtensionList::getExtensionDiscovery in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Extension/ExtensionList.php \Drupal\Core\Extension\ExtensionList::getExtensionDiscovery()
  2. 10 core/lib/Drupal/Core/Extension/ExtensionList.php \Drupal\Core\Extension\ExtensionList::getExtensionDiscovery()

Returns the extension discovery.

Return value

\Drupal\Core\Extension\ExtensionDiscovery

2 calls to ExtensionList::getExtensionDiscovery()
ModuleExtensionList::getExtensionDiscovery in core/lib/Drupal/Core/Extension/ModuleExtensionList.php
Returns the extension discovery.
TestExtension::getExtensionDiscovery in core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php
Returns the extension discovery.
3 methods override ExtensionList::getExtensionDiscovery()
ModuleExtensionList::getExtensionDiscovery in core/lib/Drupal/Core/Extension/ModuleExtensionList.php
Returns the extension discovery.
TestExtension::getExtensionDiscovery in core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php
Returns the extension discovery.
VfsThemeExtensionList::getExtensionDiscovery in core/tests/Drupal/KernelTests/Core/Theme/BaseThemeDefaultDeprecationTest.php
Returns the extension discovery.

File

core/lib/Drupal/Core/Extension/ExtensionList.php, line 150

Class

ExtensionList
Provides available extensions.

Namespace

Drupal\Core\Extension

Code

protected function getExtensionDiscovery() {
  return new ExtensionDiscovery($this->root);
}