Group Entity Form template

Created on 18 April 2024, 8 months ago

Problem/Motivation

When Administrative Theme designers need to modify the look of the Group Entity Edit form, they are limited by the absence of a matching template. If we wanted to have a similar edit form like Node we would need a template to restructure the form. Potentially having the same edit layout as Node or other Entities can enhance the usability of Drupal Groups. Group should not force any specific layout for the edit form, only allow Administrative Theme designers the option to structure the form.

Steps to reproduce

As an Administrative Theme designer trying to match the Node Edit form is not possible.

Proposed resolution

Modify the group_theme function to provide an extra array option of

'group_edit' => [
      'render element' => 'form',
    ],

Add a base template for this form that does not effect the default flow but will provide options to Administrative Themers
group-edit-form.html.twig

Remaining tasks

User interface changes

This change should not introduce any interface changes, only provide the template option to Administrative Themes.

API changes

N/A.

Data model changes

N/A.

✨ Feature request
Status

Needs review

Version

3.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States emerham

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024