CommentTestBase::$nodeUserCommented

Same name in other branches
  1. 9 core/modules/comment/tests/src/Functional/Views/CommentTestBase.php \Drupal\Tests\comment\Functional\Views\CommentTestBase::nodeUserCommented
  2. 8.9.x core/modules/comment/src/Tests/Views/CommentTestBase.php \Drupal\comment\Tests\Views\CommentTestBase::nodeUserCommented
  3. 8.9.x core/modules/comment/tests/src/Functional/Views/CommentTestBase.php \Drupal\Tests\comment\Functional\Views\CommentTestBase::nodeUserCommented
  4. 10 core/modules/comment/tests/src/Functional/Views/CommentTestBase.php \Drupal\Tests\comment\Functional\Views\CommentTestBase::nodeUserCommented

Stores a node posted by the user created as $account2.

Type: \Drupal\node\NodeInterface

File

core/modules/comment/tests/src/Functional/Views/CommentTestBase.php, line 49

Class

CommentTestBase
Provides setup and helper methods for comment views tests.

Namespace

Drupal\Tests\comment\Functional\Views

Code

protected $nodeUserCommented;

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