You are here

function uikit_components_help in UIkit Components 8

Same name and namespace in other branches
  1. 8.3 uikit_components.module \uikit_components_help()
  2. 8.2 uikit_components.module \uikit_components_help()
  3. 7.3 uikit_components.module \uikit_components_help()
  4. 7 uikit_components.module \uikit_components_help()
  5. 7.2 uikit_components.module \uikit_components_help()

Implements hook_help().

File

./uikit_components.module, line 18
UIkit Components.

Code

function uikit_components_help($route_name, RouteMatchInterface $route_match) {
  $output = '';
  switch ($route_name) {
    case 'help.page.uikit_components':
      $output = '<p>' . t('The UIkit components module provides additional components and functionality to the UIkit base theme and various Drupal core modules. Some aspects of the frontend cannot be themed without going through the backend, such as empty navbar links. With this module we can add more functionality to the UIkit frontend through the Drupal backend without the need for contributed modules which may add more functionality than needed.') . '</p>';
      break;
    case 'uikit_components.admin':
      $output = '<p>' . t('Configuration for the UIkit Components module.') . '</p>';
      break;
    case 'uikit_components.core':
      $output = '<p>' . t('UIkit offers over 30 modular and extendible components, which can be combined with each other. Components are divided into different compartments according to their purpose and functionality. This form allows you to control how some of these components are used.') . '</p>';
      break;
    case 'uikit_components.advanced':
      $output = '<p>' . t("UIkit offers some advanced components that are not included in the UIkit core framework. Usually you wouldn't use these components in your everyday website. They include stuff like nestables and datepickers, which will come in handy, if you create advanced user interfaces like administration areas. This form allows you to control how some of these components are used.") . '</p>';
      break;
  }
  return $output;
}