public function SectionComponentDependenciesEvent::addModuleDependency in Dependency Calculation 8
Adds a module as dependency.
Parameters
string $module: The module.
File
- src/
Event/ SectionComponentDependenciesEvent.php, line 91
Class
- SectionComponentDependenciesEvent
- The SectionComponentDependenciesEvent event.
Namespace
Drupal\depcalc\EventCode
public function addModuleDependency(string $module) {
$this->moduleDependencies[] = $module;
}