Is it possible to add an action on the /admin/content page. We got “publish selected content” or “delete selected content” etc etc…
http://screencast.com/t/v2ZMedCqy3g
I’m trying to add an action here from a module installation.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to implement
hook_node_operations(). You can look at thepathauto_node_operations()as example.Notices that the callback specified takes an array of node ids, plus the additional callback arguments as you specified in your hook implementation (see above example).