Create a role programmatically in Drupal 8/9
In Drupal 8/9, we can create a role with the help of entity class Role present in hook_install().
Note: Need to uninstall module and reinstall module.
Note: Need to uninstall module and reinstall module.
Share
share your add link
https%3A%2F%2Fmycode.blog%2Flakshmi%2Fcreate-role-programmatically-drupal-89%0A
Share in social
Comments