You are here

function gridstack_ui_help in GridStack 8

Same name and namespace in other branches
  1. 8.2 modules/gridstack_ui/gridstack_ui.module \gridstack_ui_help()

Implements hook_help().

File

modules/gridstack_ui/gridstack_ui.module, line 34
Provides GridStack configuration entity UI.

Code

function gridstack_ui_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.gridstack_ui':
      return check_markup(file_get_contents(dirname(dirname(__DIR__)) . '/README.txt'), 'restricted_html');
  }
}