For the AdminSettingsForm.php file.

First, these two fields $form['metatags']['ps_account'] and $form['metatags']['ps_config'] should not be required. I ran into the Where To Buy button not working when including these values and the documentation does not include these for the Where To Buy button.

Second, this $config->get('ps.js', '//cdn.pricespider.com/1/lib/ps-widget.js') does not set the default value to '//cdn.pricespider.com/1/lib/ps-widget.js'.

Lastly, some code styling fixes and add missing docblock.

Tag1 supports Drupal development!Tag1 logo

Comments

kamkejj created an issue. See original summary.

kamkejj’s picture

FileSize
3.11 KB
kamkejj’s picture

FileSize
3.11 KB

Rename to .patch.

jasonawant’s picture

Status: Active » Needs review
jasonawant’s picture

Status: Needs review » Needs work
FileSize
2.99 KB

b/c of misnamed config/insall directory in #3024782: Install file incorrectly named, the default value was not set. Re-rolling this patch to remove the default value set. The default value will now be installed with the module with fix in #3024782: Install file incorrectly named.

This is the same reason for the need to set the $form['wtb']['wtb_uri'] , so I'm going to revert that change. I also caught a typo.

  • jasonawant committed e15338f on 8.x-1.x
    Issue #3011858 by kamkejj, jasonawant: AdminSettingsForm fields not...
jasonawant’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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