function _ctools_drush_export_enable
Enable a single object.
Parameters
$table_name:
$object:
File
-
drush/
ctools.drush.inc, line 694
Code
function _ctools_drush_export_enable($table_name, $object) {
$name = _ctools_drush_get_export_name($table_name, $object);
if (_ctools_drush_object_is_disabled($object)) {
// Enable object.
ctools_export_crud_enable($table_name, $object);
drush_log("Enabled object: {$name}", 'success');
}
else {
drush_log("{$name} is already Enabled", 'notice');
}
}