function VfsThemeExtensionList::setExtensionDiscovery

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Theme/BaseThemeMissingTest.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/BaseThemeDefaultDeprecationTest.php, line 121

Class

VfsThemeExtensionList
Test theme extension list class.

Namespace

Drupal\KernelTests\Core\Theme

Code

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.