Révision 582db59d
Ajouté par Assos Assos il y a plus de 8 ans
drupal7/modules/block/block.module | ||
---|---|---|
350 | 350 |
'#block' => $block, |
351 | 351 |
'#weight' => ++$weight, |
352 | 352 |
); |
353 |
$build[$key]['#theme_wrappers'][] ='block'; |
|
353 |
$build[$key]['#theme_wrappers'][] = 'block';
|
|
354 | 354 |
} |
355 | 355 |
$build['#sorted'] = TRUE; |
356 | 356 |
return $build; |
... | ... | |
967 | 967 |
// Start with common sub-patterns: block identification, theme, language. |
968 | 968 |
$cid_parts[] = $block->module; |
969 | 969 |
$cid_parts[] = $block->delta; |
970 |
drupal_alter('block_cid_parts', $cid_parts, $block); |
|
970 | 971 |
$cid_parts = array_merge($cid_parts, drupal_render_cid_parts($block->cache)); |
971 | 972 |
|
972 | 973 |
return implode(':', $cid_parts); |
Formats disponibles : Unified diff
Update Drupal core to version 7.40