function _ctools_drush_object_is_enabled

Determine if an object is enabled.

See also

_ctools_drush_object_is_disabled()

1 string reference to '_ctools_drush_object_is_enabled'
_ctools_drush_filter_exportables in drush/ctools.drush.inc
Filters a collection of exportables based on filters.

File

drush/ctools.drush.inc, line 787

Code

function _ctools_drush_object_is_enabled($object) {
    return empty($object->disabled) ? TRUE : FALSE;
}