Problem/Motivation

Currently, the id attribute for the form_mode_container form element is an array, but it should be a string. The id attribute may be used in theme suggestions, and having the id as an array may cause fatal errors.

Proposed resolution

Change the id attribute to a string.

Command icon 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

id.aleks created an issue. See original summary.

id.aleks’s picture

Status: Active » Needs review
StatusFileSize
new468 bytes

I have created MR. Also adding a patch.

id.aleks’s picture

Assigned: id.aleks » Unassigned
id.aleks’s picture

nicoloye’s picture

Status: Needs review » Reviewed & tested by the community

Patch is working fine, thanks!

  • id.aleks authored a75f51f6 on 8.x-1.x
    Issue #3386999 by id.aleks: The 'form_mode_container' form element's 'id...
nicoloye’s picture

Status: Reviewed & tested by the community » Fixed

Push to dev branch. Ready for next release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.