- π§πͺBelgium yoerioptr
I've created a patch that adds the weight configured in the form display. This way it's possible to move the settings by editing the form display. The only issue is that it uses the "default" form display instead of loading it dynamically.
- πΊπΈUnited States DamienMcKenna NH, USA
Moving this to the 2.1.x branch.
Maybe there's a way of inheriting this from the parent class?
- πΊπΈUnited States DamienMcKenna NH, USA
I added a breakpoint at the top of MetatagFirehose::formElement() and it shows that $element['#weight'] exists and has a value of 0:
I changed the field's order on the form display settings for that content type and its weight did not change.
I examined EntityFormDisplay::buildForm() and after it runs foreach($this->getComponents() the Metatag field's is correct:
This implies a bug in Form API or maybe the admin theme, not Metatag.