move to migrate_drupal
2 unresolved threads
2 unresolved threads
Closes #3258581
Merge request reports
Activity
mentioned in merge request !6780 (closed)
added 168 commits
-
0c0fdbc0...74a6dce2 - 166 commits from branch
project:11.x
- 62ebed7e - move to migrate_drupal
- 2e737240 - Add deprecations.
-
0c0fdbc0...74a6dce2 - 166 commits from branch
25 30 const CUSTOM_BLOCK_TABLE = 'boxes'; 31 32 /** 33 * @deprecated in drupal:10.3.0 and is removed from drupal:12.0.0. Use 34 * \Drupal\migrate_drupal\Plugin\migrate\source\d6\BoxTranslation::I18N_STRING_TABLE 35 * instead. 36 * 37 * @see https://www.drupal.org/node/3439256 38 */ 26 39 const I18N_STRING_TABLE = 'i18n_strings'; 27 40 41 /** 42 * {@inheritdoc} 43 */ 44 public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration = NULL) { 45 @trigger_error('\Drupal\block_content\Plugin\migrate\source\d6\BoxTranslation::create() is deprecated in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\migrate_drupal\Plugin\migrate\source\d6\BoxTranslation::create() instead. See https://www.drupal.org/node/3439256', E_USER_DEPRECATED); This is not following the Drupal deprecation policy for classes. I am not aware of change of policy on this.
On a similar issue, https://www.drupal.org/project/drupal/issues/3431452#comment-15526565, alexpott mentioned that statically called methods need to issue deprecations because they bypass the constructor. I assumed it applied to this static method as well.
changed this line in version 5 of the diff
11 11 /** 12 12 * Tests i18n content block translations source plugin. 13 13 * 14 * @covers \Drupal\block_content\Plugin\migrate\source\d6\BoxTranslation 14 * @covers \Drupal\migrate_drupal\Plugin\migrate\source\d6\BoxTranslation changed this line in version 4 of the diff
added 6 commits
-
732fed94...c84365f7 - 2 commits from branch
project:11.x
- 9d724161 - move to migrate_drupal
- 976d29a6 - Add deprecations.
- 90165d9e - Move tests to migrate_drupal.
- 8e6d9211 - Trigger warnings in plugin constructors.
Toggle commit list-
732fed94...c84365f7 - 2 commits from branch
Please register or sign in to reply