Closed (fixed)
Project:
Name Field
Version:
8.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2025 at 18:19 UTC
Updated:
19 Nov 2025 at 19:29 UTC
Jump to comment: Most recent
The name_element_validate() function contains an improperly formatted not-equal operator.
if (!$empty && (count($minimum_components) != count(array_intersect_key($minimum_components, $item_components)))) {
Correct it with an additional equal character.
if (!$empty && (count($minimum_components) !== count(array_intersect_key($minimum_components, $item_components)))) {
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
jcandan commentedComment #4
jcandan commentedComment #8
bluegeek9 commented