SystemMenuBlockTest::$blockManager

Same name and namespace in other branches
  1. 9 core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php \Drupal\Tests\system\Kernel\Block\SystemMenuBlockTest::blockManager
  2. 10 core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php \Drupal\Tests\system\Kernel\Block\SystemMenuBlockTest::blockManager
  3. 11.x core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php \Drupal\Tests\system\Kernel\Block\SystemMenuBlockTest::blockManager

The block manager service.

Type: \Drupal\Core\block\BlockManagerInterface

File

core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php, line 79

Class

SystemMenuBlockTest
Tests <a href="/api/drupal/core%21modules%21system%21src%21Plugin%21Block%21SystemMenuBlock.php/class/SystemMenuBlock/8.9.x" title="Provides a generic Menu block." class="local">\Drupal\system\Plugin\Block\SystemMenuBlock</a>.

Namespace

Drupal\Tests\system\Kernel\Block

Code

protected $blockManager;

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