You are here

function slick_ui_help in Slick Carousel 8

Same name and namespace in other branches
  1. 8.2 slick_ui/slick_ui.module \slick_ui_help()
  2. 7.3 slick_ui/slick_ui.module \slick_ui_help()
  3. 7.2 slick_ui/slick_ui.module \slick_ui_help()

Implements hook_help().

File

slick_ui/slick_ui.module, line 34
Provides Slick carousel configuration entity UI.

Code

function slick_ui_help($route_name, RouteMatchInterface $route_match) {
  $output = '';
  switch ($route_name) {
    case 'help.page.slick_ui':
      $output = check_markup(file_get_contents(dirname(__FILE__) . '/README.html'), 'restricted_html');
  }
  return $output;
}