Miscellaneous tips when coding for Rules

Drupal: 8m
Video Series
Information

This screencast gives miscellaneous tips when writing Rules plugins, such as:

  • Some words on declaring new data types for Rules
  • How to restrict access to plugins
  • How to form alter plugin configuration forms
  • How to provide additional form validation
  • How to use the "base" property to provide a non-default callback function
  • How to invoke events programmatically with all arguments in a single array
  • How to use drupal_static() to share variables/values with other parts of Drupal
Tagged: , and
Discussion

Comments

Comments here have been temporarily disabled. Please drop a line with our support for any questions or comments about the videos, blog posts, or about the site generally.
Lullabot logo

Lullabot has trained thousands of Drupal developers & guided the development of some of the largest Drupal websites.