Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293910

Local tasks for current route are only checked for two levels

$
0
0

Problem/Motivation

Drupal currently only supports two levels of local tasks because there is not recursive checking of route parents.

There is already a @todo to this effect in Drupal\Core\Menu\LocalTaskManager::getLocalTasksForRoute().

Proposed resolution

Do a recursive check on the local task 'parent_id' check rather than just checking one level of parents.

Remaining tasks

  • Post patch
  • Write tests

Viewing all articles
Browse latest Browse all 293910

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>