Skip to content
Snippets Groups Projects
Commit 46cfdef2 authored by Oleksandr Tymoshchuk's avatar Oleksandr Tymoshchuk
Browse files

refs #3384040: Added a help link for the module with a short explanation.

parent a37c2872
No related branches found
No related tags found
1 merge request!5refs #3384040: Added a help link for the module with a short explanation.
<?php
/**
* @file
* Contains link_class_widget.module.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function link_class_widget_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the social module.
case 'help.page.link_class_widget':
$output = '';
$output .= '<h3>' . t('About Link class widget') . '</h3>';
$output .= '<p>' . t('Provide a widget for Link field type which permit to add classes') . '</p>';
$output .= '<p>' . t('Select the <em>Link with class</em> widget in the manage display form page to be able to add custom classes to the Link field') . '</p>';
return $output;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment