class VfsThemeExtensionList in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Theme/BaseThemeDefaultDeprecationTest.php \Drupal\KernelTests\Core\Theme\VfsThemeExtensionList
- 9 core/tests/Drupal/KernelTests/Core/Theme/BaseThemeMissingTest.php \Drupal\KernelTests\Core\Theme\VfsThemeExtensionList
Test theme extension list class.
Hierarchy
- class \Drupal\Core\Extension\ExtensionList
- class \Drupal\Core\Extension\ThemeExtensionList
- class \Drupal\KernelTests\Core\Theme\VfsThemeExtensionList
- class \Drupal\Core\Extension\ThemeExtensionList
Expanded class hierarchy of VfsThemeExtensionList
File
- core/
tests/ Drupal/ KernelTests/ Core/ Theme/ BaseThemeMissingTest.php, line 84
Namespace
Drupal\KernelTests\Core\ThemeView source
class VfsThemeExtensionList extends ThemeExtensionList {
/**
* The extension discovery for this extension list.
*
* @var \Drupal\Core\Extension\ExtensionDiscovery
*/
protected $extensionDiscovery;
/**
* Sets the extension discovery.
*
* @param \Drupal\Core\Extension\ExtensionDiscovery $discovery
* The extension discovery.
*
* @return self
*/
public function setExtensionDiscovery(ExtensionDiscovery $discovery) {
$this->extensionDiscovery = $discovery;
return $this;
}
/**
* {@inheritdoc}
*/
public function getExtensionDiscovery() {
return $this->extensionDiscovery;
}
}