PrepareModulesEntityUninstallForm::formTitle does not exist

Created on 21 March 2017, over 7 years ago
Updated 22 April 2024, 8 months ago

Problem/Motivation

The system.prepare_modules_entity_uninstall route defines the following _title_callback value:

\Drupal\system\Form\PrepareModulesEntityUninstallForm::formTitle

This was introduced when the route itself was first introduced in #2688945: Allow removing a module's content entities prior to module uninstallation β†’ .

However, it never actually existed.

Thus, an error is thrown when attempting to retrieve the title via the title_resolver service manually. I can only suspect that this error is caught in the system when actually visiting the page since no one has actually caught this.

Proposed resolution

Add the _title_callback for this route and test coverage it can be called with the title resolver service

Remaining tasks

  • Review and commit

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Fixed

Version

10.3 ✨

Component
EntityΒ  β†’

Last updated about 1 hour ago

Created by

πŸ‡ΊπŸ‡ΈUnited States markhalliwell

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

Merge Requests

Comments & Activities

Not all content is available!

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

Production build 0.71.5 2024