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

Systme help block should not be assigned into non-existing region

$
0
0

I have a custom installation profile and my default theme does not have a 'help' region. System module defines a block 'System help' which tries to automatically assign itself during the installation into the 'help' region.

But since my theme has no such region I'll get the 'The block System help was assigned to the invalid region help and has been disabled.' message.

In the system_block_info there is a comment '// Auto-enable in 'help' region by default, if the theme defines one.'. The last part is basically ignored.

So I think the failed attempt should not trigger the status message or it should check if the theme really defines the 'help' region like it says in the comment and only attach itself into it when it is really defined.


Viewing all articles
Browse latest Browse all 292738

Trending Articles



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