function UnmetDependenciesException::formatConfigObjectList
Formats a list of configuration objects.
Parameters
array $config_objects: A list of configuration object names that have unmet dependencies.
Return value
string The imploded config_objects, formatted in an easy to read string.
2 calls to UnmetDependenciesException::formatConfigObjectList()
- UnmetDependenciesException::create in core/
lib/ Drupal/ Core/ Config/ UnmetDependenciesException.php  - Creates an exception for an extension and a list of configuration objects.
 - UnmetDependenciesException::getTranslatedMessage in core/
lib/ Drupal/ Core/ Config/ UnmetDependenciesException.php  - Gets a translated message from the exception.
 
File
- 
              core/
lib/ Drupal/ Core/ Config/ UnmetDependenciesException.php, line 115  
Class
- UnmetDependenciesException
 - An exception thrown if configuration has unmet dependencies.
 
Namespace
Drupal\Core\ConfigCode
protected static function formatConfigObjectList(array $config_objects) {
  $list = [];
  foreach ($config_objects as $config_object => $missing_dependencies) {
    $list[] = $config_object . ' (' . implode(', ', $missing_dependencies) . ')';
  }
  return implode(', ', $list);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.