function mysql_help in Drupal 10
Implements hook_help().
File
- core/
modules/ mysql/ mysql.module, line 13 - The MySQL module provides the connection between Drupal and a MySQL, MariaDB or equivalent database.
Code
function mysql_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.mysql':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The MySQL module provides the connection between Drupal and a MySQL, MariaDB or equivalent database. For more information, see the <a href=":mysql">online documentation for the MySQL module</a>.', [
':mysql' => 'https://www.drupal.org/documentation/modules/mysql',
]) . '</p>';
return $output;
}
}