Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Updated: Comment #N
Problem/Motivation
+++ b/core/includes/menu.inc
@@ -1979,6 +1986,20 @@ function menu_local_tasks($level = 0) {
+ foreach ($local_tasks as $level => $items) {
This is overriding the $level variable that is being passed into the function. I'm not 100% through with debugging, but I think this might be the cause of some missing tabs in config_translation that I'm having a problem with.
Proposed resolution
fix it.
Remaining tasks
User interface changes
API changes
Related Issues
- #2076283: Allow local task plugins on paths with a dynamic value (like a node): Where this bug was introduced
Comment | File | Size | Author |
---|---|---|---|
#1 | duplicate_variables.patch | 721 bytes | tstoeckler |
Comments
Comment #1
tstoecklerUploading patch from the original issue here.
Comment #1.0
tstoecklerAdded related issue, where this was found
Comment #4
dawehnerBy looking at
\Drupal\Core\Menu\Plugin\Block\LocalTasksBlock
and\Drupal\Core\Menu\LocalTaskManager
this no longer seems to be an issue.