PluginTestBase::$mockBlockManager

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php \Drupal\KernelTests\Core\Plugin\PluginTestBase::mockBlockManager
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php \Drupal\KernelTests\Core\Plugin\PluginTestBase::mockBlockManager
  3. 10 core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php \Drupal\KernelTests\Core\Plugin\PluginTestBase::mockBlockManager

The mock plugin manager used by Plugin API derivative unit tests.

Type: \Drupal\plugin_test\Plugin\MockBlockManager

File

core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php, line 44

Class

PluginTestBase
Base class for Plugin API unit tests.

Namespace

Drupal\KernelTests\Core\Plugin

Code

protected $mockBlockManager;

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