Skip to main content

Filter: gk/query-filters/filter/disable-filters

Modifies the list of filter indexes to disable.

To disable a group, add the group number. To disable a field, provide the field number inside the group. For example: ['2', '3.4'] would disable the second group completely and the 4th field in the 3rd group.

Parameters

NameTypeDescription
$disabled_filtersarrayThe filter positions to disable.

Since

  • 2.0.0

Source

Defined in src/Filter/Visitor/DisableFiltersVisitor.php at line 38