You are here

function ludwig_help in Ludwig 8

Implements hook_help().

File

./ludwig.module, line 37
This is the primary module file.

Code

function ludwig_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for ludwig module.
    case 'help.page.ludwig':

      // Return a line-break version of the README.md.
      return _filter_autop(file_get_contents(dirname(__FILE__) . '/README.md'));
    default:
  }
}