Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jamesdixon created an issue. See original summary.

jamesdixon’s picture

Status: Active » Needs review
FileSize
2.48 KB

Here's a first draft of the D8 tamper HTML Entity Decode plugin. Thanks for your review.

jamesdixon’s picture

Last patch has been updated with @ericgsmith's suggestions. Now I can move onto others!

ericgsmith’s picture

Status: Needs review » Needs work

Thanks James - same comments as per https://www.drupal.org/project/tamper/issues/2960830

  1. +++ b/src/Plugin/Tamper/HTMLEntityEncode.php
    @@ -0,0 +1,34 @@
    +use Drupal\Core\Form\FormStateInterface;
    

    Unused - can remove

  2. +++ b/src/Plugin/Tamper/HTMLEntityEncode.php
    @@ -0,0 +1,34 @@
    +class HTMLEntityEncode extends TamperBase {
    

    Camel case for class name.

jamesdixon’s picture

Status: Needs work » Needs review
FileSize
1.89 KB
3.3 KB

Thanks for the suggestions. I have included them in the latest patch.

ericgsmith’s picture

Thanks James - just re rolling the test against the new base class.

ericgsmith’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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