refactor: flag states so that they are not hardcoded, allow plugins to add additional states, deprecated filter:flags.getFilters hook, closes #11065

This commit is contained in:
Julian Lam
2022-12-16 14:58:16 -05:00
parent 32fecad703
commit 14091de8fe
3 changed files with 29 additions and 13 deletions

View File

@@ -33,6 +33,11 @@ Hooks._deprecated = new Map([
since: 'v2.2.0',
until: 'v3.0.0',
}],
['filter:flags.getFilters', {
new: 'filter:flags.init',
since: 'v2.7.0',
until: 'v3.0.0',
}],
]);
Hooks.internals = {