function VfsThemeExtensionList::setExtensionDiscovery
Same name in other branches
- 8.9.x 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.