Problem/Motivation

I get an error trying to send a test email

Steps to reproduce

Send the test email

Proposed resolution

Add a "use" statetement for Drupal\Component\Utility\HTML;

Remaining tasks

Code

User interface changes

None

API changes

None

Data model changes

None

CommentFileSizeAuthor
#16 3318852-16.patch1.06 KBwilfred waltman
#8 3318852-8.patch869 bytesfenstrat
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rodrigoaguilera created an issue. See original summary.

rodrigoaguilera’s picture

Status: Active » Needs review
maacl’s picture

Status: Needs review » Reviewed & tested by the community

Encountered the same problem and came to the same solution as in the patch.

adamps’s picture

Status: Reviewed & tested by the community » Fixed

Thanks

adamps’s picture

Hmm it keeps failing to merge. I'll try again later.

adamps’s picture

Status: Fixed » Reviewed & tested by the community
fenstrat’s picture

StatusFileSize
new869 bytes

Also hit this, confirming this is RTBC.

Attached is the MR in patch form for anyone else who also needs this for composer patches. @AdamPS you could use it if the MR still won't merge.

adamps’s picture

adamps’s picture

  • AdamPS committed 3dd633a on 1.x
    Issue #3318852 by rodrigoaguilera, fenstrat: HTML class not found
    
adamps’s picture

Status: Reviewed & tested by the community » Fixed

Thanks committed manually using the patch.

Status: Fixed » Closed (fixed)

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

rpayanm’s picture

Sorry, but, is not the correct way to use:

use Drupal\Component\Utility\Html;

Instead:

use Drupal\Component\Utility\HTML;
rodrigoaguilera’s picture

@rpayanm
Where do you see the incorrect use?

wilfred waltman’s picture

StatusFileSize
new1.06 KB

I think it should be Html.

rpayanm’s picture

I think it should be "Html".

rodrigoaguilera’s picture

Version: 1.1.0-beta2 » 1.x-dev

I see now. I can't reopen this one a new issue should be opened

rodrigoaguilera’s picture