CommentTestBase::$nodeUserPosted

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

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

Type: \Drupal\node\NodeInterface

File

core/modules/comment/src/Tests/Views/CommentTestBase.php, line 50

Class

CommentTestBase
Provides setup and helper methods for comment views tests.

Namespace

Drupal\comment\Tests\Views

Code

protected $nodeUserPosted;

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