Commit 9e4280e6 authored by Project Update Bot's avatar Project Update Bot Committed by Thom Wilhelm
Browse files

Issue #3299475 by Project Update Bot, DishaKatariya: Automated Drupal 10 compatibility fixes

parent 88497934
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
name: Watchdog Prune
description: Remove entries from the watchdog table based on age or other factors.
core: 8.x
type: module
configure: watchdog_prune.watchdog_prune_settings
core_version_requirement: ^8 || ^9
core_version_requirement: ^9.3 || ^10
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ use Drupal\Core\Routing\RouteMatchInterface;
 */
function watchdog_prune_help($route_name, $route_match) {
  if ($route_name == 'help.page.watchdog_prune') {
    $output = file_get_contents(drupal_get_path('module', 'watchdog_prune') . '/README.txt');
    $output = file_get_contents(\Drupal::service('extension.list.module')->getPath('watchdog_prune') . '/README.txt');
    $output = '<pre>' . $output . '</pre>';
    return [
      '#type' => 'markup',