CommentTestBase::$nodeUserPosted

Same name in other branches
  1. 8.9.x core/modules/comment/src/Tests/Views/CommentTestBase.php \Drupal\comment\Tests\Views\CommentTestBase::nodeUserPosted
  2. 8.9.x core/modules/comment/tests/src/Functional/Views/CommentTestBase.php \Drupal\Tests\comment\Functional\Views\CommentTestBase::nodeUserPosted
  3. 10 core/modules/comment/tests/src/Functional/Views/CommentTestBase.php \Drupal\Tests\comment\Functional\Views\CommentTestBase::nodeUserPosted
  4. 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/tests/src/Functional/Views/CommentTestBase.php, line 42

Class

CommentTestBase
Provides setup and helper methods for comment views tests.

Namespace

Drupal\Tests\comment\Functional\Views

Code

protected $nodeUserPosted;

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