You are here

public function CommentOrphanTest::providerTestOrphan in Drupal 8

Same name and namespace in other branches
  1. 9 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',
    ],
  ];
}