Add page title to environment_indicator entity forms

Created on 9 August 2019, over 5 years ago
Updated 5 September 2024, 7 months ago

Problem/Motivation

The environment_indicator entity forms don't have form titles, so when you view the form in the Seven theme, you just see the shortcut star button.

Proposed resolution

Add form titles to the add/edit entity form pages, like other entity forms in Drupal core.

Remaining tasks

Redefine the environment_indicator.default form handler as separate add/edit handlers, so we can detect the operation in the form builder method, and use a different title for each.
Set the title of the edit form dynamically, with the entity label.

User interface changes

The admin pages to add/edit an environment get proper titles.

API changes

The environment_indicator config entity type gets separate form handler names, but they still use the same EntityForm class.

Data model changes

None.

🐛 Bug report
Status

Needs work

Version

4.0

Component

User interface

Created by

🇬🇧United Kingdom andrewmacpherson

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.

Production build 0.71.5 2024