Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291302

_block_rehash | prevents block showing in admin list

$
0
0

Block does not show in admin list.

If you programatically create a block using hook_block_info(); it will not show in the admin list under the following circumstances

  1. If you set Status to true & you do not have Region set at all

One way to fix this is to separate status and region check in the _block_rehash() function
Patch to follow


Viewing all articles
Browse latest Browse all 291302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>