You are here

function wbm2cm_migrate_destination_info_alter in Workbench Moderation to Content Moderation 8.2

File

./wbm2cm.module, line 127

Code

function wbm2cm_migrate_destination_info_alter(array &$definitions) {
  foreach ($definitions as &$definition) {
    if ($definition['class'] == CoreEntityRevision::class) {
      $definition['class'] = EntityRevision::class;
    }
  }
}