public static function OgMenuController::title in Organic Groups Menu (OG Menu) 8
Parameters
\Drupal\og_menu\OgMenuInterface $ogmenu: The og menu object.
Return value
array The page title render array.
1 string reference to 'OgMenuController::title'
File
- src/
Controller/ OgMenuController.php, line 24 - Contains \Drupal\og_menu\Controller\OgMenuController.
Class
- OgMenuController
- Defines a route controller for a form for menu link content entity creation.
Namespace
Drupal\og_menu\ControllerCode
public static function title(OgMenuInterface $ogmenu) {
return [
'#markup' => $ogmenu
->label(),
'#allowed_tags' => Xss::getHtmlTagList(),
];
}