follow.module in Follow 8.2
Same filename and directory in other branches
Allows users to add links to their social network profiles.
File
follow.moduleView 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
Name | Description |
---|---|
follow_help | Implements hook_help(). |