You are here

function link_attributes_help in Link Attributes widget 8

Implements hook_help().

File

./link_attributes.module, line 26
Contains main module functions.

Code

function link_attributes_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.link_attributes':
      $output = '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The link attributes module provides a widget that allows users to add attributes to links. It overtakes the core default widget for menu link content entities, allowing you to set attributes on menu links.') . '</p>';
      return $output;
  }
}