Restricting Execution
// only execute for the admin package
void function preProcess(event,struct data) eventPattern="^admin\."{}
// only execute for the blog module
void function preProcess(event,struct data) eventPattern="^blog:"{}
// only execute for the blog module and the home handler
void function preProcess(event,struct data) eventPattern="^blog:home\."{}
// only execute for the blog, forums, and shop modules
void function preProcess(event,struct data) eventPattern="^(blog|forum|shop):"{}
// execute for every event except those with 'authentication' in the name
void function preProcess(event,struct data) eventPattern="^((?!authentication).)*$"{}Last updated
Was this helpful?