function BaseThemeDefaultDeprecationTest::register

Overrides KernelTestBase::register

File

core/tests/Drupal/KernelTests/Core/Theme/BaseThemeDefaultDeprecationTest.php, line 52

Class

BaseThemeDefaultDeprecationTest
Tests the behavior of the Stable theme.

Namespace

Drupal\KernelTests\Core\Theme

Code

public function register(ContainerBuilder $container) {
    parent::register($container);
    $container->getDefinition('extension.list.theme')
        ->setClass(VfsThemeExtensionList::class);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.