function _environment_indicator_active in Environment Indicator 7.2
Same name and namespace in other branches
- 8.2 environment_indicator.module \_environment_indicator_active()
Filter callback for environment_indicator_get_all().
1 string reference to '_environment_indicator_active'
- environment_indicator_get_all in ./
environment_indicator.module - Helper function to get all environments.
File
- ./
environment_indicator.module, line 547 - Module implementation file.
Code
function _environment_indicator_active($item) {
return empty($item->disabled) || !$item->disabled;
}