Change record status: 
Project: 
Introduced in branch: 
9.2.x
Introduced in version: 
9.2.0
Description: 

Previously, the Drupal\node\Plugin\migrate\source\d6\ViewMode source plugin was using the targetEntityType constant to calculate migration dependencies. The constant has been renamed to entity_type. This simplifies the source plugin and delegates dependency calculation to the parent class, Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase.

Custom migrations created from core/modules/node/migrations/d6_view_modes.yml template should rename the constant name to make sure the dependencies are calculated properly.

Before Drupal 9.2.0

source:
  plugin: d6_view_mode
  constants:
    targetEntityType: node
    status: true

In Drupal 9.2.0 and later

source:
  plugin: d6_view_mode
  constants:
    entity_type: node
    status: true
Impacts: 
Module developers