Révision 082b75eb
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/entity/entity.module | ||
---|---|---|
1088 | 1088 |
// Care about entitycache tables. |
1089 | 1089 |
if (module_exists('entitycache')) { |
1090 | 1090 |
$tables = array(); |
1091 |
foreach (entity_crud_get_info() as $entity_type => $entity_info) { |
|
1092 |
if (isset($entity_info['module']) && !empty($entity_info['entity cache'])) { |
|
1093 |
$tables[] = 'cache_entity_' . $entity_type; |
|
1091 |
$tables_created = variable_get('entity_cache_tables_created'); |
|
1092 |
if (is_array($tables_created)) { |
|
1093 |
foreach ($tables_created as $module => $entity_cache_tables) { |
|
1094 |
$tables = array_merge($tables, $entity_cache_tables); |
|
1094 | 1095 |
} |
1095 | 1096 |
} |
1096 | 1097 |
return $tables; |
Formats disponibles : Unified diff
Weekly update of contrib modules