Display a helpful message upon enabling the module

Created on 2 August 2023, over 1 year ago
Updated 19 September 2023, about 1 year ago

Problem/Motivation

Since MaxLength doesn't have a central configuration page, it can be confusing for sitebuilders to know where to configure the maximum length for a field.

Right now the confirmation message simply states,

Module MaxLength has been enabled.

Steps to reproduce

  1. Install and enable the module.

Proposed resolution

Add a status message,

To set a character limit on a field, visit the Manage form display administration page for the entity the field is associated with. See the MaxLength Help page for more information.

This can be done using the hook(install) function. See Module Recommended Practices for more info.

Remaining tasks

  • ✅ Get maintainer approval for the proposed resolution
  • ✅ Implement resolution
  • ✅ Write test coverage (contact a maintainer if you need help)
  • ✅ Maintainer review via the UI
  • ✅ Maintainer Code Review #1
  • ✅ Maintainer code review #2
  • ❌ Merge into dev branch, with credit to author and participants

User interface changes

Expanded confirmation message displays once the module is enabled.

API changes

None

Data model changes

None

Feature request
Status

Fixed

Version

2.1

Component

User interface

Created by

🇺🇸United States cedewey Denver, CO

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

Comments & Activities

Production build 0.71.5 2024