Last updated May 21, 2012. Created on April 21, 2012.
Edited by mitchell. Log in to edit this page.

This module allows you to create links, which trigger rules.

The best way to display the links is currently using views. Rules Links will create a Views field for each link, using the title of the link as title for the field. So if you have link for nodes with the delete 'Delete node', you'll find the Views field under name 'Content: Delete node'. Alternatively you can use render the links directly in the entities that can be displayed, using the option 'Show link in entity' in the Rules Links settings.


To create a new link go to admin/config/workflow/rules_links and click on "Add rules link". Enter the title of your link and set all the settings. After clicking on the "Save Rules Link" button, the module will generate a new And-Set and Rules-Set component, and their forms will be embedded into the rules link editing form. The And-Sets are called Visibility Conditions and will define when to render the links. The Rules set is the rule, that will be triggered on clicking the rule. Additionally Rules Links also generates access permission for each link,
which you'll have to set in admin/people/permissions.

Note that this will not work for links where the parameters have multiple paramaters. If you would like to render a link yourself in a theme or in a module, than use the function rules_link_render_link().

Looking for support? Visit the forums, or join #drupal-support in IRC.


coreteamvn’s picture

In my case the Rules Link Views field did not show up until Ive cleared all caches