You are here

public function ConfigurationManager::newDependency in Configuration Management 7.3

File

src/ConfigurationManager.php, line 160

Class

ConfigurationManager

Namespace

Configuration

Code

public function newDependency(Configuration $configuration, $dependency, $type = NULL) {
  $configuration
    ->addDependency($dependency);
  $this
    ->referenceConfiguration($dependency, $configuration
    ->getIdentifier(), $type);
}