function anchor_link_help in CKEditor Anchor Link - For Drupal 8 and 9 8
Same name and namespace in other branches
- 8.2 anchor_link.module \anchor_link_help()
- 3.0.x anchor_link.module \anchor_link_help()
Implements hook_help().
File
- ./
anchor_link.module, line 13 - Contains anchor_link.module.
Code
function anchor_link_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the entity_link module.
case 'help.page.anchor_link':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('This plugin module adds the better link dialog and anchor related features to CKEditor in Drupal 8') . '</p>';
$output .= '<p><ul>';
$output .= ' <li>Dialog to insert links and anchors with some properties.</li>';
$output .= ' <li>Context menu option to edit or remove links and anchors.</li>';
$output .= ' <li>Ability to insert a link with the URL using multiple protocols, including an external file if a file manager is integrated.</li>';
$output .= '</ul></p>';
$output .= '<p><a href="http://ckeditor.com/addon/link">http://ckeditor.com/addon/link</a></p>';
return $output;
default:
}
}