I'm entering code in the PHP Code field of the field settings form and clicking on "Save". But the code I enter is not saved. If I edit the field settins again the PHP Code box is empty.

CommentFileSizeAuthor
#2 1003906-php-options.patch7.14 KBmradcliffe
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mradcliffe’s picture

Assigned: Unassigned » mradcliffe
Priority: Normal » Critical

Good catch. I'll need to write a test for this.

Not using the new field_ui widget settings array correctly.

mradcliffe’s picture

Status: Active » Needs review
FileSize
7.14 KB

Okay, I had to change some tests around, created a new test, and am doing things properly now.

Can you test the patch? It works for me at the moment, and passes tests.

jzornig’s picture

Thanks that works.

mradcliffe’s picture

Status: Needs review » Fixed

Thanks for the quick reply. Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.