public function getModuleList() { return $this->moduleList;
} /**
* {@inheritdoc}
*/
public function getModule($name) { if (isset($this->moduleList
[$name])) { return $this->moduleList
[$name];
} throw new UnknownExtensionException(sprintf('The module %s does not exist.',
$name));
} /**
* {@inheritdoc}
*/
public function setModuleList(array
$module_list =
[]) { $this->moduleList =
$module_list;
// Reset the implementations, so a new call triggers a reloading of the
// available hooks.
$this->
resetImplementations();
}