Active
Project:
farmOS
Version:
4.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 May 2026 at 05:38 UTC
Updated:
24 May 2026 at 05:38 UTC
Jump to comment: Most recent
We provide a QuickFormElementsTrait that has a method called buildInlineContainer(), which is a helper for rendering form elements "inline" (next to each other) in quick forms.
This is provided by the farm_quick module, but would be useful outside of quick forms as well (eg: in other Drupal Form API forms in farmOS or contrib modules).
I propose we generalize this trait so that it can be used outside of quick forms, and deprecate QuickFormElementsTrait.
FarmFormInlineContainerTraitFarmFormInlineContainerTrait instead of QuickFormElementsTrait in quick forms.QuickFormElementsTrait.None.
Provides a new FarmFormInlineContainerTrait that replaces the existing QuickFormElementsTrait.
None.
Comments