public function ConfigDependencyManager8b7c:f320:99b9:690f:4595:cd17:293a:c069setData public ConfigDependencyManager8b7c:f320:99b9:690f:4595:cd17:293a:c069setData(array $data) Sets data to calculate dependencies for. The data is converted into lightweight ConfigEntityDependency objects. Parameters  array $data: Configuration data keyed by configuration object name. Typically the output of \Drupal\Core\Config\StorageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069loadMultiple(). Return value  $this File
 core/lib/Drupal/Core/Config/Entity/ConfigDependencyManager.php, line 309  Class
 
ConfigDependencyManager  Provides a class to discover configuration entity dependencies.  Namespace Drupal\Core\Config\Entity Code public function setData(array $data) {
  array_walk($data, function(&$config, $name) {
    $config = new ConfigEntityDependency($name, $config);
  });
  $this->data = $data;
  $this->graph = NULL;
  return $this;
}


    
{'path': 'public/docs/drupal~8/core-lib-drupal-core-config-entity-configdependencymanager.php/function/configdependencymanager-setdata/8.1.x.html', 'source': 'DevDocs.IO'}