'config_schema_test.someschema.somemodule.section_two.subsection',
'config_schema_test.someschema.with_parents',
'config_schema_test.someschema',
];
/**
* {@inheritdoc}
*/
public function register(ContainerBuilder
$container) { parent::
register($container);
$container->
register('default_config_test.schema_storage'
) ->
setClass('\Drupal\config_test\TestInstallStorage'
) ->
addArgument(InstallStorage::CONFIG_SCHEMA_DIRECTORY
);
$definition =
$container->
getDefinition('config.typed'
);
$definition->
replaceArgument(1,
new Reference('default_config_test.schema_storage'
));
} /**
* Tests default configuration data type.
*/
public function testDefaultConfig() { $typed_config = \Drupal::
service('config.typed'
);