function openlayers_update_7390 in Openlayers 7.3
Make sure that the submodule service_container_annotation_discovery from module service_container is properly enabled.
File
- ./
openlayers.install, line 609 - Openlayers module - installation procedure.
Code
function openlayers_update_7390() {
if (!module_exists('service_container_annotation_discovery')) {
$enabled = module_enable(array(
'service_container_annotation_discovery',
));
if (!$enabled) {
throw new DrupalUpdateException('Unable to enable the module service_container_annotation_discovery from service_container.');
}
}
}