Miscellaneous tips

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
Modules: