You are here

function wbm2cm_module_implements_alter in Workbench Moderation to Content Moderation 8.2

Implements hook_module_implements_alter().

File

./wbm2cm.module, line 90

Code

function wbm2cm_module_implements_alter(array &$implementations, $hook) {
  if ($hook == 'entity_presave') {
    unset($implementations['content_moderation']);
  }
  elseif ($hook == 'entity_storage_load') {
    unset($implementations['workbench_moderation']);
  }
}