function crop_update_8003 in Crop API 8
Uninstall deprecated sub-module from active instance.
File
- ./
crop.install, line 66 - Install, update and uninstall functions for the Crop API module.
Code
function crop_update_8003() {
if (\Drupal::moduleHandler()
->moduleExists('crop_media_entity')) {
\Drupal::service('module_installer')
->uninstall([
'crop_media_entity',
]);
}
}