You are here

public function CommentOrphanTest::providerTestOrphan in Drupal 9

Same name and namespace in other branches
  1. 8 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()

Provides test data for testOrphan.

File

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

Class

CommentOrphanTest
Tests loading and rendering orphan comments.

Namespace

Drupal\Tests\comment\Kernel

Code

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