function config_get_storage_names_with_prefix

Gets configuration object names starting with a given prefix.

See also

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

15 calls to config_get_storage_names_with_prefix()
BlockTestBase::setUp in drupal/core/modules/block/lib/Drupal/block/Tests/BlockTestBase.php
Sets up a Drupal site for running functional and integration tests.
contact_entity_bundle_info in drupal/core/modules/contact/contact.module
Implements hook_entity_bundle_info().
custom_block_entity_bundle_info in drupal/core/modules/block/custom_block/custom_block.module
Implements hook_entity_bundle_info().
entity_entity_bundle_delete in drupal/core/modules/entity/entity.module
Implements hook_entity_bundle_delete().
entity_entity_bundle_rename in drupal/core/modules/entity/entity.module
Implements hook_entity_bundle_rename().

... See full list

File

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

Code

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