Gets configuration object names starting with a given prefix.
Drupal\Core\Config\StorageInterface::listAll()
function config_get_storage_names_with_prefix($prefix = '') {
return drupal_container()
->get('config.storage')
->listAll($prefix);
}