Skip to content

Commit

Permalink
Merge pull request #265 from tractorcow/pulls/fix-translatable-userfo…
Browse files Browse the repository at this point in the history
…rms-compat

BUG Fix compat with userforms/translatable
  • Loading branch information
wilr committed May 31, 2015
2 parents e9df40c + 64b0d62 commit 71b615b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions code/model/UserDefinedForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ class UserDefinedForm extends Page {
* @var string Required Identifier
*/
private static $required_identifier = null;

/**
* Prevent translatable module from attepmting to translate FieldEditor
*
* @var array
* @config
*/
private static $translate_excluded_fields = array(
'Fields'
);

/**
* @var array Fields on the user defined form page.
Expand Down

0 comments on commit 71b615b

Please sign in to comment.