Commit efb450ae authored by David Suissa's avatar David Suissa Committed by Jakob P
Browse files

Issue #3363604: Add Drupal 11 support

parent 075ba26d
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,6 +3,6 @@ description: Provides an improved drop-down menu interface to the site Toolbar.
package: Administration
type: module
configure: admin_toolbar.settings
core_version_requirement: ^9.2 || ^10
core_version_requirement: ^9.5 || ^10 || ^11
dependencies:
  - drupal:toolbar
+1 −1
Original line number Diff line number Diff line
@@ -2,6 +2,6 @@ name: Admin Toolbar Links Access Filter
description: Provides a workaround for the common problem that users with 'Use the administration pages and help' permission see menu links they don't have access permission for. Once the issue <a href='https://www.drupal.org/node/296693'>https://www.drupal.org/node/296693</a> be solved, this module will be deprecated.
package: Administration
type: module
core_version_requirement: ^9.2 || ^10
core_version_requirement: ^9.5 || ^10
dependencies:
  - admin_toolbar:admin_toolbar
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ name: Admin Toolbar Search
description: Provides search of Admin Toolbar items.
package: Administration
type: module
core_version_requirement: ^9.2 || ^10
core_version_requirement: ^9.5 || ^10 || ^11
configure: admin_toolbar_search.settings
dependencies:
  - admin_toolbar:admin_toolbar_tools
+1 −1
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ class SearchLinks {
      $content_entity = $entities['content_entity'];
      // Load the remaining items that were not loaded by the toolbar.
      $content_entity_bundle_storage = $this->entityTypeManager->getStorage($content_entity_bundle);
      $bundles_ids = $content_entity_bundle_storage->getQuery()->sort('weight')->range($max_bundle_number)->execute();
      $bundles_ids = $content_entity_bundle_storage->getQuery()->accessCheck()->sort('weight')->range($max_bundle_number)->execute();
      if (!empty($bundles_ids)) {
        $bundles = $this->entityTypeManager
          ->getStorage($content_entity_bundle)
+1 −1
Original line number Diff line number Diff line
@@ -3,6 +3,6 @@ description: Adds menu links like Flush cache, Run cron, Run updates, and Logout
package: Administration
configure: admin_toolbar_tools.settings
type: module
core_version_requirement: ^9.2 || ^10
core_version_requirement: ^9.5 || ^10 || ^11
dependencies:
  - admin_toolbar:admin_toolbar
Loading