You are here

function ctools_export_crud_enable in Chaos Tool Suite (ctools) 7

Enable a certain object.

Parameters

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

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

Related topics

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

File

includes/export.inc, line 342
Contains code to make it easier to have exportable objects.

Code

function ctools_export_crud_enable($table, $object) {
  return ctools_export_crud_set_status($table, $object, FALSE);
}