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.
By gmwraj on
Hi,
I am developing a drupal module where I need to give site wide contact form permissions for all programmatically.
I want this programmatically- http://i.imgur.com/BOQjZB1.png
I need help about this. If any one know how to do this please help me.
Thanks and regards
Gmw Raj
Comments
I would do something like
I would do something like this:
This will open up the form for access by anyone, without having to mess with the permissions table.
Problem solved
Hi, Jaypan
Thanks for the solution. You solution solve my problem.
Thanks and regards
Raj