function _ctools_drush_export_delete
Revert a single object.
Parameters
$table_name:
$object:
File
-
drush/
ctools.drush.inc, line 675
Code
function _ctools_drush_export_delete($table_name, $object) {
$name = _ctools_drush_get_export_name($table_name, $object);
if (_ctools_drush_object_is_overridden($object)) {
// Remove from db.
ctools_export_crud_delete($table_name, $object);
drush_log("Reverted object: {$name}", 'success');
}
else {
drush_log("Nothing to revert for: {$name}", 'notice');
}
}