|
MediaWiki master
|
Public Member Functions | |
| __construct (private array $config) | |
| registerFiltersFromDefinitions (ChangesListFilterGroupContainer $container, array $definitions) | |
| Register filters from an array of group definitions. | |
Definition at line 8 of file ChangesListFilterFactory.php.
| MediaWiki\RecentChanges\ChangesListFilterFactory::__construct | ( | private array | $config | ) |
Definition at line 11 of file ChangesListFilterFactory.php.
| MediaWiki\RecentChanges\ChangesListFilterFactory::registerFiltersFromDefinitions | ( | ChangesListFilterGroupContainer | $container, |
| array | $definitions ) |
Register filters from an array of group definitions.
Groups are displayed to the user in the structured UI. However, if necessary, all of the filters in a group can be configured to only display on the unstructured UI, in which case you don't need a group title.
The order of both groups and filters is significant; first is top-most priority, descending from there.
| ChangesListFilterGroupContainer | $container | |
| array | $definitions | An array of associative arrays each consisting of parameters passed to the group class, and also the following parameters recognised by the factory:
|
Definition at line 50 of file ChangesListFilterFactory.php.
References MediaWiki\RecentChanges\ChangesListFilterGroupContainer\registerGroup().