Currently Display Plugins can participate in the validation of the complete View. This functionality should be useful for other plugins as well as handlers.
Attached a patch which allows handlers to participate in the validation of the View. The patch includes few minor remotely related comments enhancements as well.
Btw, it looks like *only* display plugins are called out during view validation. Don't you think all plugins should be able to validate the view? I didn't want to touch this part so the patch doesn't get out of hand.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | views_handlers_validate4.patch | 6.41 KB | AmrMostafa |
| #2 | views_handlers_validate3.patch | 7.02 KB | AmrMostafa |
| #1 | views_handlers_validate2.patch | 6.41 KB | AmrMostafa |
| views_handlers_validate.patch | 5.64 KB | AmrMostafa |
Comments
Comment #1
AmrMostafa commented... and here we have a better patch which doesn't try to validate() handlers which are inherited from the default display.
Thanks for the tip Earl!
Comment #2
AmrMostafa commentedTiny fix in the help. (6 plugin types instead of 5).
Comment #3
AmrMostafa commentedMy bad. Patch wasn't generated with the correct relative directory.
Comment #4
merlinofchaos commentedCommitted! Thanks a lot for this, this is valuable!