The row style plugin can have a validate() method but it's never called when the style plugin is being validated.
The attached patch applies to 6.x-3.x and 6.x-2.x. I'm attaching the one for 3.x, but you'll probably get fuzz warnings when applying it to 2.x.
| Comment | File | Size | Author |
|---|---|---|---|
| views3-row_plugin-validate.patch | 1.34 KB | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) commentedComment #2
dawehnerLooks fine.
Manuall testing works fine. Thats the same code snippet as in the display plugin.
Comment #3
Anonymous (not verified) commentedIf you want to test the patch on a row style plugin that requires it, see the developer snapshot of Semantic Views.
http://drupalcode.org/viewvc/drupal/contributions/modules/semanticviews/...
Create a new view that uses the semantic views row style. Add a new display and override the fields for that display. Views with this patch should reject attempts to save or preview. If fields are overridden, the row style must be overridden too.
Comment #4
dawehnerI tested it with a short hack on the fields row style plugin.
Comment #5
merlinofchaos commentedCommitted to all branches.