public function register(ContainerBuilder
$container) { parent::
register($container);
$container->
getDefinition('extension.list.theme'
) ->
setClass(VfsThemeExtensionList::
class);
} /**
* {@inheritdoc}
*/
protected function setUpFilesystem() { parent::
setUpFilesystem();
$vfs_root = vfsStream::
setup('core'
);
vfsStream::
create([ 'themes' =>
[ 'test_missing_base_theme' =>
[ 'test_missing_base_theme.info.yml' =>
file_get_contents(DRUPAL_ROOT . '/core/tests/fixtures/test_missing_base_theme/test_missing_base_theme.info.yml'
),
'test_missing_base_theme.theme' =>
file_get_contents(DRUPAL_ROOT . '/core/tests/fixtures/test_missing_base_theme/test_missing_base_theme.theme'
),
],
],
],
$vfs_root);
}