function patchinfo_update_8204 in PatchInfo 8.2
Enable .info.yml patch source submodule for compatibility with 8.x-1.x.
File
- ./
patchinfo.install, line 138 - Install, update, and uninstall functions for the Patch Info module.
Code
function patchinfo_update_8204() {
$module = 'patchinfo_source_info';
if (!\Drupal::service('module_handler')
->moduleExists($module)) {
\Drupal::service('module_installer')
->install([
$module,
], TRUE);
}
}