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
'#description'=>t('This role will be automatically assigned new permissions whenever a module is enabled. Changing this setting will not affect existing permissions.'),
);
// User registration settings.
$form['registration_cancellation']=array(
'#type'=>'fieldset',
...
...
@@ -910,3 +930,24 @@ function theme_user_filters($form) {
return$output;
}
/**
* Implementation of hook_modules_installed().
*/
functionuser_modules_installed($modules){
// Assign all available permissions to the administrator role.
$this->assertTrue(user_access('administer news feeds',$this->admin_user,TRUE),t('The permission was automatically assigned to the administrator role'));