function CommentOrphanTest::providerTestOrphan

Same name in other branches
  1. 9 core/modules/comment/tests/src/Kernel/CommentOrphanTest.php \Drupal\Tests\comment\Kernel\CommentOrphanTest::providerTestOrphan()
  2. 8.9.x 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 129

Class

CommentOrphanTest
Tests loading and rendering orphan comments.

Namespace

Drupal\Tests\comment\Kernel

Code

public static 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.