Problem/Motivation
I observed many area commented code this there we need to cleanup.
public function build() {
$menu_name = $this->getDerivativeId();
$parameters = new MenuTreeParameters();
// Adjust the menu tree parameters based on the block's configuration.
// $level = $this->configuration['level'];.
$depth = $this->configuration['depth'];
// $parameters->setMinDepth($level);Steps to reproduce
need to check the path
src/Plugin/Block/FullMenuBlock.php
Proposed resolution
cleanup the code
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | cleanup.patch | 791 bytes | shiv_sharma |
Issue fork fullmenu-3379261
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
shiv_sharma commentedadded the patch to solve the issue.
Comment #5
rajan kumar commentedI have reviewed and merged code in latest version.
Comment #6
rajan kumar commented