Replace deprecated usage of drupal_render and valid_email_address.

Comments

heykarthikwithu created an issue. See original summary.

heykarthikwithu’s picture

Assigned: heykarthikwithu » Unassigned
Status: Active » Needs review
StatusFileSize
new1.8 KB

1. replaced drupal_render with \Drupal::service('renderer').
2. replaced valid_email_address with \Drupal::service('email.validator').

heykarthikwithu’s picture

Issue tags: +Quick fix
heykarthikwithu’s picture

StatusFileSize
new2.41 KB
new3.64 KB

Rerolled the patch to the latest version.

cbeier’s picture

Status: Needs review » Fixed

Patch committed to the 8.x-2.x branch. Thank you for the work.

Status: Fixed » Closed (fixed)

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