Loading watchdog_prune.info.yml +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 watchdog_prune.module +1 −1 Original line number Diff line number Diff line Loading @@ -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', Loading Loading
watchdog_prune.info.yml +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
watchdog_prune.module +1 −1 Original line number Diff line number Diff line Loading @@ -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', Loading