You are here

public function CommentOrphanTest::providerTestOrphan in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/comment/tests/src/Kernel/CommentOrphanTest.php \Drupal\Tests\comment\Kernel\CommentOrphanTest::providerTestOrphan()
  2. 9 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',
    ],
  ];
}