You are here

function _ctools_drush_object_is_overridden in Chaos Tool Suite (ctools) 7

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
CTools Drush commands.

Code

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