Rules link event

Categories

Component ID

1303316

Component name

Rules link event

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

4896

Component created

Component changed

Component body

This module extends Rules by adding an "link accessed" event - this allows you to create arbitrary links which trigger rules.

For example: you can create a URL shop/buy/% which adds an item to the users cart, applies a discount, then redirects the user to the checkout page.

This module is primarily used by those using Drupal Commerce who need to create custom Add to Cart Links, though it could be expanded to be used in many other applications (Please contribute patches!).

When using this module, please be aware of the security implications when creating (un-tokenized) GET requests as it can lead to CSRF.

Related Modules

Rules Link (See #1365658: Difference with Rules link module)