You are here

follow.module in Follow 8.2

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

Allows users to add links to their social network profiles.

File

follow.module
View source
<?php

/**
 * @file
 *   Allows users to add links to their social network profiles.
 */
use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function follow_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the follow module.
    case 'help.page.follow':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Follow') . '</p>';
      return [
        '#markup' => $output,
      ];
  }
}

Functions

Namesort descending Description
follow_help Implements hook_help().