function ckeditor_bgimage_help in CkEditor Background Image 8
Same name and namespace in other branches
- 2.0.x ckeditor_bgimage.module \ckeditor_bgimage_help()
Implements hook_help().
File
- ./
ckeditor_bgimage.module, line 13 - Contains ckeditor_googlesearch.module.
Code
function ckeditor_bgimage_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.ckeditor_bgimage':
$output = '';
$output .= '<h3>' . t('Ckeditor Backgroun Image') . '</h3>';
$output .= '<p>' . t('The module adds a Background buttqon to the editor toolbar.') . '</p>';
$output .= '<h3>' . t('Uses') . '</h3>';
$output .= '<dl>';
$output .= '<dt>' . t('Settings') . '</dt>';
$output .= '<dd>' . t('In the <a href=":text-formats">text formats</a> that use ckeditor, move the background icon into the active toolbar.', [
':text-formats' => \Drupal::urlGenerator()
->generateFromRoute('filter.admin_overview'),
]) . '</dd>';
$output .= '<dd>' . t('Set Text Format to "Full HTML".') . '</dd>';
$output .= '</dl>';
return $output;
default:
}
}