function CommentEntityTranslationCheckRequirementsTest::providerTestCheckRequirements

Same name in other branches
  1. 10 core/modules/comment/tests/src/Kernel/Migrate/d7/CommentEntityTranslationCheckRequirementsTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\CommentEntityTranslationCheckRequirementsTest::providerTestCheckRequirements()
  2. 11.x core/modules/comment/tests/src/Kernel/Migrate/d7/CommentEntityTranslationCheckRequirementsTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\CommentEntityTranslationCheckRequirementsTest::providerTestCheckRequirements()

Provides data for testCheckRequirements.

Return value

string[][]

File

core/modules/comment/tests/src/Kernel/Migrate/d7/CommentEntityTranslationCheckRequirementsTest.php, line 49

Class

CommentEntityTranslationCheckRequirementsTest
Tests check requirements for comment entity translation source plugin.

Namespace

Drupal\Tests\comment\Kernel\Migrate\d7

Code

public function providerTestCheckRequirements() {
    return [
        [
            'comment',
        ],
        [
            'node',
        ],
    ];
}

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