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