public function VfsThemeExtensionList::setExtensionDiscovery in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Theme/BaseThemeDefaultDeprecationTest.php \Drupal\KernelTests\Core\Theme\VfsThemeExtensionList::setExtensionDiscovery()
Sets the extension discovery.
Parameters
\Drupal\Core\Extension\ExtensionDiscovery $discovery: The extension discovery.
Return value
self
File
- core/
tests/ Drupal/ KernelTests/ Core/ Theme/ BaseThemeMissingTest.php, line 101
Class
- VfsThemeExtensionList
- Test theme extension list class.
Namespace
Drupal\KernelTests\Core\ThemeCode
public function setExtensionDiscovery(ExtensionDiscovery $discovery) {
$this->extensionDiscovery = $discovery;
return $this;
}