Skip to main content
1 of 2
Pierre.Vriens
  • 36k
  • 40
  • 50
  • 182

Have a look at the Rules Link module. Some details from its project page:

This module lets you create links which trigger arbitrary functionality with the help of Rules.

Features:

  • Attach the link to any entities.
  • Show the link only for certain bundles.
  • Narrow the entities on which the link will be shown using the visibility conditions.
  • The links are usually displayed using Views.
  • For entities that can be displayed, the links can be shown on node view.
  • Supports an arbitrary number of additional Rules parameters for passing context via Views.
  • 3 types of links: Javascript, Normal and Confirmation form links.
  • Use individual permissions for each link.

PS: I'm assuming this question is about D7.

Pierre.Vriens
  • 36k
  • 40
  • 50
  • 182