function ctools_export_crud_disable

Disable a certain object.

Parameters

$table: The name of the table to use to disable a certain object. This table must have an 'export' section containing data or this function will fail.

$object: The fully populated object to disable, or the machine readable name.

Related topics

2 calls to ctools_export_crud_disable()
CtoolsExportCrudTestCase::testCrudExportSetStatus in tests/ctools_export_test/ctools_export.test
Tests CRUD operation: Set status.
_ctools_drush_export_disable in drush/ctools.drush.inc
Disable a single object.

File

includes/export.inc, line 356

Code

function ctools_export_crud_disable($table, $object) {
    return ctools_export_crud_set_status($table, $object, TRUE);
}