You are here

replicate.module in Replicate 8

Same filename and directory in other branches
  1. 7 replicate.module

Main methods of Replicate module.

File

replicate.module
View source
<?php

/**
 * @file
 * Main methods of Replicate module.
 */
use Drupal\Core\Routing\RouteMatchInterface;

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

Functions

Namesort descending Description
replicate_help Implements hook_help().