diff options
author | Dave Long <dave@longwaveconsulting.com> | 2024-11-14 18:16:42 +0000 |
---|---|---|
committer | Dave Long <dave@longwaveconsulting.com> | 2024-11-14 18:16:42 +0000 |
commit | 8aeb2ca5992dc3aecfb654f098caeb26d794a960 (patch) | |
tree | 77483ed9f5b108b2cd545cd15338915a77db888f /core/modules/mysql/mysql.module | |
parent | 55bab3403cba9ae3797f3d2ca7482ae68040efae (diff) | |
download | drupal-8aeb2ca5992dc3aecfb654f098caeb26d794a960.tar.gz drupal-8aeb2ca5992dc3aecfb654f098caeb26d794a960.zip |
Issue #3483599 by nicxvan, ghost of drupal past, catch, longwave, fabianx: Convert all procedural hook implementations to Hook classes
Diffstat (limited to 'core/modules/mysql/mysql.module')
-rw-r--r-- | core/modules/mysql/mysql.module | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/core/modules/mysql/mysql.module b/core/modules/mysql/mysql.module deleted file mode 100644 index 746647d032ed..000000000000 --- a/core/modules/mysql/mysql.module +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -/** - * @file - * The MySQL module provides the connection between Drupal and a MySQL, MariaDB or equivalent database. - */ - -use Drupal\Core\Routing\RouteMatchInterface; - -/** - * Implements hook_help(). - */ -function mysql_help($route_name, RouteMatchInterface $route_match) { - switch ($route_name) { - case 'help.page.mysql': - $output = ''; - $output .= '<h2>' . t('About') . '</h2>'; - $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/docs/core-modules-and-themes/core-modules/mysql-module']) . '</p>'; - return $output; - - } -} |