Moduleorder Form Field
The moduleorder form field type provides a drop down to set the ordering of module in a given position.
- type (mandatory) must be moduleorder.
- name (mandatory) is the unique name of the field.
- label (mandatory) (translatable) is the descriptive title of the field. description (optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the field.
Implemented by: libraries/src/Form/ModuleorderField.php
Example XML parameter definition
<field
name="ordering"
type="moduleorder"
label="JFIELD_ORDERING_LABEL"
description="JFIELD_ORDERING_DESC"
/>