function social_media_links_help in Social Media Links Block and Field 8.2
Implements hook_help().
File
- ./
social_media_links.module, line 52 - Allows to add a block with the links to various social media platforms.
Code
function social_media_links_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.social_media_links':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The modules provides a configurable block that display links (icons) to your profiles on various popular networking sites.') . '</p>';
$output .= '<h3>' . t('Installation') . '</h3>';
$output .= '<p><label>1. </label>' . t('Install as usual, see <a href=":documentation">installing contributed modules</a> for further information.', [
':documentation' => 'https://www.drupal.org/docs/8/extending-drupal-8/installing-contributed-modules-find-import-enable-configure',
]) . '</p>';
$output .= '<p><label>2. </label>' . t('The module has no special configuration. All settings are available in the block settings: /admin/structure/block.') . '</p>';
$output .= '<h3>' . t('Included icon sets') . '</h3>';
$output .= '<p>' . t('The module contains a icon set, that the module is ready for use immediately after the installation.') . '</p>';
return $output;
}
}