Adding support for exclusion some forms by their form IDs.
Use case - Panels in-place editor bottom form. Currently it also gets the "Register form" link, which is not desirable.

In the patch:

- New variable for storing excludes `rel_build_registration_ignore_forms`
- New textarea field on the Rel settings form (admin/structure/rel/config) for entering forms IDs (saved in the var)
- Initialization of the var in the in rel.install with defaults to 'panels-ipe-edit-control-form'.
- Deletion of the var in uninstall
- Initialization of the var in rel_test.module

Comments

OnkelTem’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, rel_exclude_forms_support-7.x-1.x.patch, failed testing.

OnkelTem’s picture

Is it my fault the test is failed? :)

swentel’s picture

No, the testbot simply can't handle all these dependencies. However, with one ID in the ignore form, all forms seem to be disabled somehow.