You are here

function synonyms_help in Synonyms 2.0.x

Implements hook_help().

File

./synonyms.module, line 13
Provide synonyms feature for content entities.

Code

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

    // Main module help for Synonyms module.
    case 'help.page.synonyms':

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