Révision b0dc3a2e
Ajouté par Julien Enselme il y a plus de 7 ans
drupal7/modules/block/block.module | ||
---|---|---|
285 | 285 |
// Append region description if we are rendering the regions demo page. |
286 | 286 |
$item = menu_get_item(); |
287 | 287 |
if ($item['path'] == 'admin/structure/block/demo/' . $theme) { |
288 |
$visible_regions = array_keys(system_region_list($theme, REGIONS_VISIBLE)); |
|
289 |
foreach ($visible_regions as $region) { |
|
288 |
foreach (system_region_list($theme, REGIONS_VISIBLE, FALSE) as $region) { |
|
290 | 289 |
$description = '<div class="block-region">' . $all_regions[$region] . '</div>'; |
291 | 290 |
$page[$region]['block_description'] = array( |
292 | 291 |
'#markup' => $description, |
Formats disponibles : Unified diff
Update to Drupal 7.52