function tb_megamenu_help in The Better Mega Menu 8
Same name and namespace in other branches
- 2.x tb_megamenu.module \tb_megamenu_help()
Implements hook_help().
File
- ./
tb_megamenu.module, line 21 - TB Mega Menu.
Code
function tb_megamenu_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.tb_megamenu':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('TB Mega Menu allows you to create a mega menu with an innovative back-end user interface and synchronized with Drupal core menu.') . '</p>';
$output .= '<h3>' . t('Uses') . '</h3>';
$output .= '<p>' . t('TB Mega Menu is developed following Drupal standards and best practices. Along with those must-have functions of a mega menu: display not just menu items but image, slideshow, video, article and customize any of them upon your favour...; below are the most noticeable features that TB Mega Menu has:') . '</p>';
$output .= '<ul>';
$output .= '<li>' . t('Synchronized with Drupal core menu, auto updated if there is any change with Drupal core menu') . '</li>';
$output .= '<li>' . t('Bootstrap framework') . '</li>';
$output .= '<li>' . t('Responsive ready') . '</li>';
$output .= '<li>' . t('Multiple built-in styles designed with years of theming experience') . '</li>';
$output .= '<li>' . t('Visual and friendly user interface - what you see is what you get') . '</li>';
$output .= '<li>' . t('Custom style for each element of your mega menu, just input extra css class name') . '</li>';
$output .= '<li>' . t('Multiple built-in CSS3 animated effects') . '</li>';
$output .= '<li>' . t('Work independently with themes') . '</li>';
$output .= '</ul>';
return $output;
}
}