2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
_update_7000_user_role_grant_permissions($rid,array('view the administration theme'),'system');
}
// The above check is not guaranteed to reach all administrative users of the
// site, so if the site is currently using an administration theme, display a
// message also.
if(variable_get('admin_theme')){
if(empty($admin_roles)){
drupal_set_message('The new "View the administration theme" permission is required in order to view your site\'s administration theme. You can grant this permission to your site\'s administrators on the <a href="'.url('admin/people/permissions',array('fragment'=>'module-system')).'">permissions page</a>.');
}
else{
drupal_set_message('The new "View the administration theme" permission is required in order to view your site\'s administration theme. This permission has been automatically granted to the following roles: <em>'.check_plain(implode(', ',$admin_roles)).'</em>. You can grant this permission to other roles on the <a href="'.url('admin/people/permissions',array('fragment'=>'module-system')).'">permissions page</a>.');