BlockCacheTest::$block

Same name in other branches
  1. 9 core/modules/block/tests/src/Functional/BlockCacheTest.php \Drupal\Tests\block\Functional\BlockCacheTest::block
  2. 8.9.x core/modules/block/tests/src/Functional/BlockCacheTest.php \Drupal\Tests\block\Functional\BlockCacheTest::block
  3. 11.x core/modules/block/tests/src/Functional/BlockCacheTest.php \Drupal\Tests\block\Functional\BlockCacheTest::block

The block used by this test.

Type: \Drupal\block\BlockInterface

File

core/modules/block/tests/src/Functional/BlockCacheTest.php, line 53

Class

BlockCacheTest
Tests block caching.

Namespace

Drupal\Tests\block\Functional

Code

protected $block;

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