BlockViewBuilderTest::$block
Same name in other branches
- 8.9.x core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php \Drupal\Tests\block\Kernel\BlockViewBuilderTest::block
- 10 core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php \Drupal\Tests\block\Kernel\BlockViewBuilderTest::block
- 11.x 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 30
Class
- BlockViewBuilderTest
- Tests the block view builder.
Namespace
Drupal\Tests\block\KernelCode
protected $block;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.