function I18nQueryTraitTest::providerI18nQueryTraitPlugins

Same name and namespace in other branches
  1. 11.x core/modules/migrate_drupal/tests/src/Kernel/I18nQueryTraitTest.php \Drupal\Tests\migrate_drupal\Kernel\I18nQueryTraitTest::providerI18nQueryTraitPlugins()

Provides data for testMigrateSourcePluginUsingI18nQueryTraitDiscovery().

File

core/modules/migrate_drupal/tests/src/Kernel/I18nQueryTraitTest.php, line 83

Class

I18nQueryTraitTest
Tests instantiating migrate source plugins using I18nQueryTrait.

Namespace

Drupal\Tests\migrate_drupal\Kernel

Code

public static function providerI18nQueryTraitPlugins() : array {
  return [
    [
      'd6_box_translation',
    ],
    [
      'd7_block_custom_translation',
    ],
    [
      'd6_menu_link_translation',
    ],
    [
      'd7_menu_link_translation',
    ],
    [
      'd7_term_localized_translation',
    ],
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.