Project

General

Profile

Revision b0dc3a2e

Added by Julien Enselme over 7 years ago

Update to Drupal 7.52

View differences:

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,

Also available in: Unified diff