function _ctools_drush_object_is_overridden

Determine if an object is overridden.

1 call to _ctools_drush_object_is_overridden()
_ctools_drush_export_delete in drush/ctools.drush.inc
Revert a single object.

File

drush/ctools.drush.inc, line 794

Code

function _ctools_drush_object_is_overridden($object) {
    $status = EXPORT_IN_CODE + EXPORT_IN_DATABASE;
    return $object->export_type == $status ? TRUE : FALSE;
}