function insert_help in Insert 8.2
Implements hook_help().
File
- ./
insert.module, line 1015
Code
function insert_help($route_name) {
if ($route_name === 'help.page.insert') {
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>';
$output .= t('Insert is a utility that makes inserting images and links to files into text areas or WYSIWYGs much easier by adding a simple JavaScript-based button to file and image fields. Visit the <a href=":insert">Insert module project page</a> for a full description of the module.', [
':insert' => 'https://www.drupal.org/project/insert',
]);
$output .= '</p>';
$output .= '<h3>' . t('Configuration') . '</h3>';
$output .= '<p>';
$output .= t('See the <a href=":insert-doc">online documentation</a> on how to set up and configure the module.', [
':insert-doc' => 'https://www.drupal.org/docs/8/modules/insert',
]);
$output .= '</p>';
return $output;
}
}