function config_get_storage_names_with_prefix

Gets configuration object names starting with a given prefix.

See also

Drupal\Core\Config\StorageInterface::listAll()

3 calls to config_get_storage_names_with_prefix()
ModuleTestBase::assertNoModuleConfig in drupal/core/modules/system/lib/Drupal/system/Tests/Module/ModuleTestBase.php
Asserts that no configuration exists for a given module.
ViewStorageTest::loadTests in drupal/core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php
Tests loading configuration entities.
_breakpoint_delete_breakpoints in drupal/core/modules/breakpoint/breakpoint.module
Remove breakpoints from all disabled themes or uninstalled modules.

File

drupal/core/includes/config.inc, line 85
This is the API for configuration storage.

Code

function config_get_storage_names_with_prefix($prefix = '') {
  return drupal_container()
    ->get('config.storage')
    ->listAll($prefix);
}