function features_filter_hidden in Features 7.2
Same name and namespace in other branches
- 7 features.admin.inc \features_filter_hidden()
Callback for array_filter() to exclude hidden modules.
Parameters
\stdClass $module: Module info object.
Return value
bool TRUE, if the module is NOT hidden.
2 string references to 'features_filter_hidden'
- features_admin_form in ./
features.admin.inc - Form builder for 'admin/structure/features'.
- _features_get_features_list in ./
features.admin.inc - Retrieves the array of features as expected on the Manage Features form.
File
- ./
features.admin.inc, line 1113 - Forms for Features admin screens.
Code
function features_filter_hidden($module) {
return empty($module->info['hidden']);
}