Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
'Admin theme region' on admin/config/workflow/rules/settings has no values.
I cannot select an admin theme region for errors/warnings to show up.
Comments
Comment #1
TR CreditAttribution: TR commentedWhat theme are you using for your admin theme? This region selection works properly for me ... I'm using the default Seven theme ... The only way I can see for the code to not offer selections here is if your admin theme doesn't define regions (or doesn't define them properly). Rules uses the core Drupal
system_region_list()
function to determine the regions defined by your theme.You can use drush to reproduce what Rules is doing here. Just execute this (use the name of your admin theme instead of 'seven'):
$ drush php-eval "print_r(system_region_list('seven', REGIONS_VISIBLE));"
You should see output something like this with the list of your theme's regions. If this list is empty, then that's a problem with your theme.
Comment #2
TR CreditAttribution: TR commentedNo further information provided.