You are here

synonyms.module in Synonyms 2.0.x

Same filename and directory in other branches
  1. 8 synonyms.module
  2. 5 synonyms.module
  3. 6 synonyms.module
  4. 7 synonyms.module

Provide synonyms feature for content entities.

File

synonyms.module
View source
<?php

/**
 * @file
 * Provide synonyms feature for content entities.
 */
use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
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:
  }
}

Functions

Namesort descending Description
synonyms_help Implements hook_help().