MockMenuBlock::$depth

Same name in other branches
  1. 9 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php \Drupal\plugin_test\Plugin\plugin_test\mock_block\MockMenuBlock::depth
  2. 8.9.x core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php \Drupal\plugin_test\Plugin\plugin_test\mock_block\MockMenuBlock::depth
  3. 10 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php \Drupal\plugin_test\Plugin\plugin_test\mock_block\MockMenuBlock::depth

The number of menu levels deep to render.

Type: int

File

core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php, line 26

Class

MockMenuBlock
Mock implementation of a menu block plugin used by Plugin API unit tests.

Namespace

Drupal\plugin_test\Plugin\plugin_test\mock_block

Code

protected $depth;

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