Clean up rendering of admin blocks/admin tasks

Created on 15 May 2015, about 10 years ago
Updated 22 May 2025, about 1 month ago

Problem/Motivation

See the todos in \Drupal\system\ModuleAdminLinksHelper::getModuleAdminLinks() and \Drupal\system\SystemManager::getAdminBlock() that are added by #1805054: Cache localized, access filtered, URL resolved, and rendered menu trees . They cannot be fixed until the rendering is made sane.

// @todo Bubble cacheability metadata of both accessible and
//   inaccessible links. Currently made impossible by the way admin
//   blocks are rendered.

Proposed resolution

Make it sane.

Remaining tasks

Do it.

User interface changes

API changes

None.

📌 Task
Status

Active

Version

11.0 🔥

Component

system.module

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇦🇺Australia mstrelan

    system_get_module_admin_tasks() doesn't exist anymore, updating IS with the new place to find the todos.

    Also adding the todo here to make it easier to find:

    // @todo Bubble cacheability metadata of both accessible and
    //   inaccessible links. Currently made impossible by the way admin
    //   blocks are rendered.
    
Production build 0.71.5 2024