NodeViewBuilderTest::$viewBuilder

Same name in other branches
  1. 9 core/modules/node/tests/src/Kernel/NodeViewBuilderTest.php \Drupal\Tests\node\Kernel\NodeViewBuilderTest::viewBuilder
  2. 8.9.x core/modules/node/tests/src/Kernel/NodeViewBuilderTest.php \Drupal\Tests\node\Kernel\NodeViewBuilderTest::viewBuilder
  3. 11.x core/modules/node/tests/src/Kernel/NodeViewBuilderTest.php \Drupal\Tests\node\Kernel\NodeViewBuilderTest::viewBuilder

The node view builder.

Type: \Drupal\Core\Entity\EntityViewBuilderInterface

File

core/modules/node/tests/src/Kernel/NodeViewBuilderTest.php, line 38

Class

NodeViewBuilderTest
Tests the node view builder.

Namespace

Drupal\Tests\node\Kernel

Code

protected $viewBuilder;

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