function data_taxonomy_get_info in Data 6
Get data_taxonomy information for a given data table.
4 calls to data_taxonomy_get_info()
- data_taxonomy_data_delete_query_alter in data_taxonomy/
data_taxonomy.module - Implementation of hook_data_delete_query_alter().
- data_taxonomy_data_insert in data_taxonomy/
data_taxonomy.module - Implementation of hook_data_insert().
- data_taxonomy_data_update in data_taxonomy/
data_taxonomy.module - Implementation of hook_data_update().
- data_taxonomy_feeds_data_processor_targets_alter in data_taxonomy/
data_taxonomy.module - Implementation of hook_feeds_data_processor_targets_alter().
File
- data_taxonomy/
data_taxonomy.module, line 173 - Hooks and API functions for Data Node module.
Code
function data_taxonomy_get_info($table_name) {
static $info = array();
if (!isset($info[$table_name])) {
$info[$table_name] = FALSE;
$meta = data_get_table($table_name)
->get('meta');
if (is_array($meta['data_taxonomy'])) {
$info[$table_name] = $meta['data_taxonomy'];
}
}
return $info[$table_name];
}