function CommentOrphanTest::providerTestOrphan

Same name in other branches
  1. 8.9.x core/modules/comment/tests/src/Kernel/CommentOrphanTest.php \Drupal\Tests\comment\Kernel\CommentOrphanTest::providerTestOrphan()
  2. 10 core/modules/comment/tests/src/Kernel/CommentOrphanTest.php \Drupal\Tests\comment\Kernel\CommentOrphanTest::providerTestOrphan()
  3. 11.x core/modules/comment/tests/src/Kernel/CommentOrphanTest.php \Drupal\Tests\comment\Kernel\CommentOrphanTest::providerTestOrphan()

Provides test data for testOrphan.

File

core/modules/comment/tests/src/Kernel/CommentOrphanTest.php, line 127

Class

CommentOrphanTest
Tests loading and rendering orphan comments.

Namespace

Drupal\Tests\comment\Kernel

Code

public function providerTestOrphan() {
    return [
        [
            'entity_id',
        ],
        [
            'uid',
        ],
        [
            'pid',
        ],
    ];
}

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