public function FrxMenu::render in Forena Reports 8
Default Render action, which simply does normal forena rendering. You can use renderDomNode at any time to generate the default forena rendering methods.
Return value
string text from the renderer.
Overrides RendererBase::render
File
- src/
FrxPlugin/ Renderer/ FrxMenu.php, line 13
Class
- FrxMenu
- Class FrxMenu
Namespace
Drupal\forena\FrxPlugin\RendererCode
public function render() {
$output = '';
$attributes = $this
->mergedAttributes();
if (!empty($attributes['menu-id'])) {
$menu_id = $attributes['menu-id'];
$output = $this
->app()
->renderMenu($menu_id);
}
return $output;
}