Change controller of /admin/config/ai/logging to systemAdminMenuBlockPage to display child menu links

Created on 22 July 2025, 14 days ago

Problem/Motivation

Currently, the route /admin/config/ai/logging uses the controller \Drupal\ai\Controller\ProviderSetupList::list. This controller renders a blank page by design. However, there are child menu items defined in ai_logging.links.menu.yml that are expected to appear under this menu item.

Since the current route does not use SystemController::systemAdminMenuBlockPage, the child links are not visible, resulting in an empty and potentially confusing page.

Steps to reproduce (required for bugs, but not feature requests)

From admin menu navigate to Configuration >> AI >> AI Logging

Proposed resolution

If the intention for this page is simply to serve as a landing page for AI Logging configuration links (like in the AI Automators page), the controller can be switched to systemAdminMenuBlockPage, similar to how it's implemented for the AI Automators page. This will automatically render a menu block page listing all child links.

If there are future plans for this route to render specific content via ProviderSetupList::list, then this change may not be appropriate and can be skipped.

Remaining tasks

Optional: Other details as applicable (e.g., User interface changes, API changes, Data model changes)

📌 Task
Status

Active

Version

1.2

Component

AI Logging

Created by

🇮🇳India sijumpk

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

Comments & Activities

Production build 0.71.5 2024