Drupal 7 Module Development Tutorial #9: Creating Permissions with Hook_Permission

preview_player
Показать описание


In the 9th video tutorial of this 10 part Drupal video tutorial series, I show you how we can create permissions for our module and ensure only administrators can access our flag application admin form. To do so, we first implement hook_permission and then update our hook_menu implementation to pass in our permission name.

In the final tutorial, we'll finish our module off by finalizing the behaviour of our flag once it has been approved.
Рекомендации по теме
Комментарии
Автор

your tutorials are "amazing" !! Thanks   

majnooonana
Автор

Great job in making these tutorials. I am new to Drupal and had a task to create totally different module, but your tutorials helped me a lot to complete my task. I learned a lot from you, thanks a lot!

janka
Автор

Thank you very much for all of these tutorials!! 
I was wondering if you are going to do any tutorial about the flag lists module... it would be great! It's hard to find some good information about that...
Thank you again for this wonderful work!

jzxixivideos
Автор

good job man. would love to see more examples of using permissions in action. any ideas on where to look?

andrewbickford
welcome to shbcf.ru