public function SmartMenusBlock::getSelectedMenu in Smartmenus.js 8
Return value
string Return the selected menu_name for the block
1 call to SmartMenusBlock::getSelectedMenu()
- SmartMenusBlock::build in src/
Plugin/ Block/ SmartMenusBlock.php - Builds and returns the renderable array for this block plugin.
File
- src/
Plugin/ Block/ SmartMenusBlock.php, line 180
Class
- SmartMenusBlock
- Provides a 'SmartMenusBlock' block.
Namespace
Drupal\smartmenus\Plugin\BlockCode
public function getSelectedMenu() {
return $this
->getConfiguration()['smartmenus_menu'];
}