BlockViewBuilderTest::$block

Same name and namespace in other branches
  1. 9 core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php \Drupal\Tests\block\Kernel\BlockViewBuilderTest::block
  2. 8.9.x core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php \Drupal\Tests\block\Kernel\BlockViewBuilderTest::block
  3. 10 core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php \Drupal\Tests\block\Kernel\BlockViewBuilderTest::block

The block being tested.

Type: \Drupal\block\BlockInterface

File

core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php, line 33

Class

BlockViewBuilderTest
Tests the block view builder.

Namespace

Drupal\Tests\block\Kernel

Code

protected $block;

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