function ctools_export_get_schemas_by_module

File

includes/export.inc, line 1082

Code

function ctools_export_get_schemas_by_module($modules = array(), $for_export = FALSE) {
    $export_tables = array();
    $list = ctools_export_get_schemas($for_export);
    foreach ($list as $table => $schema) {
        $export_tables[$schema['module']][$table] = $schema;
    }
    return empty($modules) ? $export_tables : array_keys($export_tables, $modules);
}