public function CalculateEntityDependenciesEvent::setModuleDependencies in Dependency Calculation 8
A list of module dependencies to add to this wrapper.
Parameters
string[] $modules: The list of modules.
File
- src/
Event/ CalculateEntityDependenciesEvent.php, line 122
Class
- CalculateEntityDependenciesEvent
- The event dispatched to calculate dependencies.
Namespace
Drupal\depcalc\EventCode
public function setModuleDependencies(array $modules) {
$this
->getWrapper()
->addModuleDependencies($modules);
}