activate(1, false)) return array(); $want = BaseConfigUtil::getCategories($module); foreach ($want as &$entry) { $entry = true; } return $want; }; /** * Configuration variables. */ $HANDLER['grep_config-variables'] = function (Module $module): array { if (!$module->activate(1, false)) return array(); $want = BaseConfigUtil::getVariables($module); foreach ($want as &$entry) { $entry = true; } return $want; };