class MockMenuBlock

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

Hierarchy

  • class \Drupal\plugin_test\Plugin\plugin_test\mock_block\MockMenuBlock

Expanded class hierarchy of MockMenuBlock

See also

Drupal\plugin_test\Plugin\MockBlockManager

File

drupal/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockMenuBlock.php, line 17
Definition of Drupal\plugin_test\Plugin\plugin_test\mock_block\MockMenuBlock.

Namespace

Drupal\plugin_test\Plugin\plugin_test\mock_block
View source

Members

Namesort descending Modifiers Type Description Overrides
MockMenuBlock::$depth protected property The number of menu levels deep to render.
MockMenuBlock::$title protected property The title to display when rendering this block instance.
MockMenuBlock::getContent public function Returns the content to display.
MockMenuBlock::__construct public function