CommentAccessTest::$unpublishedNode

Same name and namespace in other branches
  1. 8.9.x core/modules/comment/tests/src/Functional/CommentAccessTest.php \Drupal\Tests\comment\Functional\CommentAccessTest::unpublishedNode
  2. 10 core/modules/comment/tests/src/Functional/CommentAccessTest.php \Drupal\Tests\comment\Functional\CommentAccessTest::unpublishedNode
  3. 11.x core/modules/comment/tests/src/Functional/CommentAccessTest.php \Drupal\Tests\comment\Functional\CommentAccessTest::unpublishedNode

Node for commenting.

Type: \Drupal\node\NodeInterface

File

core/modules/comment/tests/src/Functional/CommentAccessTest.php, line 37

Class

CommentAccessTest
Tests comment administration and preview access.

Namespace

Drupal\Tests\comment\Functional

Code

protected $unpublishedNode;

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