Révision 27370441
Ajouté par Assos Assos il y a plus de 8 ans
drupal7/sites/all/modules/field_group/field_group.install | ||
---|---|---|
17 | 17 |
'key' => 'identifier', |
18 | 18 |
'identifier' => 'field_group', |
19 | 19 |
'default hook' => 'field_group_info', |
20 |
'load callback' => 'field_group_group_load_by_identifier', |
|
20 | 21 |
'save callback' => 'field_group_group_save', |
21 | 22 |
'delete callback' => 'field_group_group_export_delete', |
22 | 23 |
'can disable' => TRUE, |
... | ... | |
229 | 230 |
->condition('name', 'field_group') |
230 | 231 |
->execute(); |
231 | 232 |
|
233 |
// Clear drupal and static cache. |
|
234 |
field_group_info_groups(NULL, NULL, NULL, TRUE); |
|
232 | 235 |
} |
233 | 236 |
|
234 | 237 |
/** |
... | ... | |
246 | 249 |
// See http://drupal.org/node/1018550. |
247 | 250 |
_field_group_recreate_identifiers(); |
248 | 251 |
|
252 |
// Clear drupal and static cache. |
|
253 |
field_group_info_groups(NULL, NULL, NULL, TRUE); |
|
249 | 254 |
} |
250 | 255 |
|
251 | 256 |
/** |
... | ... | |
257 | 262 |
module_load_include('module', 'field_group'); |
258 | 263 |
_field_group_recreate_identifiers(); |
259 | 264 |
|
265 |
// Clear drupal and static cache. |
|
266 |
field_group_info_groups(NULL, NULL, NULL, TRUE); |
|
260 | 267 |
} |
261 | 268 |
|
262 | 269 |
/** |
... | ... | |
295 | 302 |
drupal_write_record('field_group', $row, array('id')); |
296 | 303 |
} |
297 | 304 |
|
305 |
// Clear drupal and static cache. |
|
306 |
field_group_info_groups(NULL, NULL, NULL, TRUE); |
|
298 | 307 |
} |
299 | 308 |
|
300 | 309 |
/** |
... | ... | |
330 | 339 |
} |
331 | 340 |
} |
332 | 341 |
|
342 |
// Clear drupal and static cache. |
|
343 |
field_group_info_groups(NULL, NULL, NULL, TRUE); |
|
333 | 344 |
} |
334 | 345 |
|
335 | 346 |
/** |
... | ... | |
360 | 371 |
drupal_write_record('field_group', $row, array('id')); |
361 | 372 |
} |
362 | 373 |
} |
374 |
|
|
375 |
// Clear drupal and static cache. |
|
376 |
field_group_info_groups(NULL, NULL, NULL, TRUE); |
|
363 | 377 |
} |
378 |
|
|
379 |
/** |
|
380 |
* Clear cache to notice the CTools load callback. |
|
381 |
*/ |
|
382 |
function field_group_update_7008() { |
|
383 |
drupal_flush_all_caches(); |
|
384 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules