BlockViewBuilderTest::$block

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

The block being tested.

Type: \Drupal\block\Entity\BlockInterface

File

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

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.