Problem/Motivation
Make disabled flag available for text_format_wrapper.
Proposed resolution
Add disabled to text_format_wrapper's default variables.
Remaining tasks
Add patch.
User interface changes
Nothing.
API changes
Theme developers will be able to customize text_format_wrapper's appearance if the associated textarea element input is disabled.
Data model changes
New variable in text_format_wrapper template.
Release notes snippet
@todo
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | text-textarea_disabled-3016346-3.patch | 2.38 KB | huzooka |
Issue fork drupal-3016346
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
huzookaComment #3
huzookaComment #4
lauriiiWe could use some test coverage for this.
Comment #14
solideogloria commentedThe patch should be converted to a merge request against 11.x
Comment #17
pradhumanjain2311 commentedComment #18
solideogloria commentedPer #4, tests are needed.
Comment #19
smustgrave commentedComment #22
mdranove commentedAdded test, moved the update to the hook_theme() from the .module to the new hooks as theme file.
Comment #23
smustgrave commentedThis will need a change record update,
But also wonder if this one is small enough to not warrant a test? The test coverage would actually need to test that using disabled in the template works. So that would have to be mocked up, seems overkill.
Comment #24
samitk commentedRemoving the
Needs teststag, as test coverage is already added.Comment #25
dany.almeida.kairouzThe Drupal Contribution Mentoring team is triaging issues for DrupalCon Chicago 2026, and we are reserving this issue for Mentored Contribution during the event.
After Thursday 26th March 2026 + 1 DAY (13:00 UTC), this issue returns to being open to all. Thanks!
Comment #26
mradcliffe