}
}
- // @todo Load subrecords.
+ // Load subrecords.
+ if (isset($export['subrecords callback']) && function_exists($export['subrecords callback'])) {
+ $export['subrecords callback']($cache[$table]);
+ }
if ($defaults = _ctools_export_get_defaults($table, $export)) {