You are here

function replicate_help in Replicate 8

Same name and namespace in other branches
  1. 7 replicate.module \replicate_help()

Implements hook_help().

File

./replicate.module, line 13
Main methods of Replicate module.

Code

function replicate_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.replicate':

      // Return a line-break version of the module README.txt.
      return check_markup(file_get_contents(__DIR__ . "/README.txt"));
  }
}