Commit cfc1ed2a authored by git's avatar git Committed by Neslee Canil Pinto
Browse files

Issue #3296629 by Project Update Bot: Automated Drupal 10 compatibility fixes

parent 7937973a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2,5 +2,4 @@ name: Better Local Tasks
type: module
description: Provides a better, fancier UI for drupal local tasks.
package: 'User Interface'
core: '8.x'
core_version_requirement: ^8 || ^9
core_version_requirement: ^9.3 || ^10
+2 −2
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ function better_local_tasks_theme_registry_alter(&$theme_registry) {
  $admin_context = \Drupal::service('router.admin_context');

  if (!$admin_context->isAdminRoute()) {
    $theme_registry['block__local_tasks_block']['path'] = drupal_get_path('module', 'better_local_tasks') . '/templates/block';
    $theme_registry['menu_local_tasks']['path'] = drupal_get_path('module', 'better_local_tasks') . '/templates/navigation';
    $theme_registry['block__local_tasks_block']['path'] = \Drupal::service('extension.list.module')->getPath('better_local_tasks') . '/templates/block';
    $theme_registry['menu_local_tasks']['path'] = \Drupal::service('extension.list.module')->getPath('better_local_tasks') . '/templates/navigation';
  }
}
+1 −1
Original line number Diff line number Diff line
@@ -16,6 +16,6 @@
    "source": "https://git.drupalcode.org/project/betterlt"
  },
  "require": {
    "drupal/core": "^8 || ^9"
    "drupal/core": "^9.3 || ^10"
  }
}