public static function ConfigurationManagement::rawDepdendencyInfo in Configuration Management 7.2
Download the entire configuration packaged up into tar file
1 call to ConfigurationManagement::rawDepdendencyInfo()
- configuration_ui_config_info in ui/
configuration_ui.admin.inc - Menu Callback Form.
File
- lib/
Drupal/ configuration/ Config/ ConfigurationManagement.php, line 748 - Definition of Drupal\configuration\Config\ConfigurationManagement.
Class
Namespace
Drupal\configuration\ConfigCode
public static function rawDepdendencyInfo($list = array(), $include_dependencies = TRUE, $include_optionals = TRUE) {
$excluded = static::excludedConfigurations();
$settings = new ConfigIteratorSettings(array(
'build_callback' => 'build',
'callback' => 'printRaw',
'process_dependencies' => $include_dependencies,
'process_optionals' => $include_optionals,
'info' => array(
'exported' => array(),
'exported_files' => array(),
'hash' => array(),
),
'settings' => array(
'print' => array(
'optionals' => $include_optionals,
'dependencies' => $include_dependencies,
),
'excluded' => $excluded,
),
));
// Clear out output buffer to remove any garbage from tar output.
if (ob_get_level()) {
ob_end_clean();
}
drupal_add_http_header('Content-type', 'application/json');
print "{\n";
foreach ($list as $component) {
if (in_array($component, $excluded)) {
continue;
}
$config = static::createConfigurationInstance($component);
// Make sure the object is built before start to iterate on its
// dependencies.
$config
->setContext($settings);
$config
->build();
$config
->iterate($settings);
}
print '"null": "null"';
print "}\n";
exit;
}