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.
Error: Call to a member function grantPermission() on string in /Applications/MAMP/htdocs/www/modules/d8/search_config/search_config.install,
line 54
Comment | File | Size | Author |
---|---|---|---|
#2 | 2771555-2.patch | 2.61 KB | naveenvalecha |
Comments
Comment #2
naveenvalechaComment #3
naveenvalechaComment #6
naveenvalechaback to fixed
Comment #7
naveenvalechaExplanation of the above patch.
user_role_grant_permissions is better here.
We'll add the default settings in config/install directory
Unused/Not needed code
We don't need to explictly remove the config as its automatically gets removed on module uninstallation by config api.