function codemirror_editor_help in The CodeMirror Editor 8
Implements hook_help().
File
- ./
codemirror_editor.module, line 13 - Primary module hooks for CodeMirror editor module.
Code
function codemirror_editor_help($route_name) {
if ($route_name == 'help.page.codemirror_editor') {
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('This module integrates the CodeMirror editor library into Drupal.') . '</p>';
$output .= '<p>' . t('Visit the <a href=":project_link">The CodeMirror editor project pages</a> on Drupal.org for more information.', [
':project_link' => 'https://www.drupal.org/project/codemirror_editor',
]) . '</p>';
return $output;
}
}