The Categories
Due to the possibly large number of groups, they are organized by categories.
The order of categories defined in the back end will be preserved in the frontend.
Below are categories defined for the Locus module:
php
class LocusInitDetails implements ModuleInitDetailsInterface
{
public static function categories(): array
{
return [
'Registration' => [
'Area',
'Season',
'Media',
'Square',
],
'Search' => [
'Search Description',
'Search Registration Notes',
],
'Order By' => [
'Order By',
],
];
}
}The categories (and Trio) structures are defined in module-specific configuartion files.
WARNING
Dependent Groups (and Categories) should always be placed after their the (groups and) options they are dependant on!