Mercurial > hg > cmmr2012-drupal-site
diff core/modules/update/src/UpdateSettingsForm.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
line wrap: on
line diff
--- a/core/modules/update/src/UpdateSettingsForm.php Thu Feb 28 13:11:55 2019 +0000 +++ b/core/modules/update/src/UpdateSettingsForm.php Thu May 09 15:34:47 2019 +0100 @@ -2,11 +2,11 @@ namespace Drupal\update; +use Drupal\Component\Utility\EmailValidatorInterface; use Drupal\Core\DependencyInjection\ContainerInjectionInterface; use Symfony\Component\DependencyInjection\ContainerInterface; use Drupal\Core\Form\ConfigFormBase; use Drupal\Core\Form\FormStateInterface; -use Egulias\EmailValidator\EmailValidator; /** * Configure update settings for this site. @@ -18,17 +18,17 @@ /** * The email validator. * - * @var \Egulias\EmailValidator\EmailValidator + * @var \Drupal\Component\Utility\EmailValidatorInterface */ protected $emailValidator; /** * Constructs a new UpdateSettingsForm. * - * @param \Egulias\EmailValidator\EmailValidator $email_validator + * @param \Drupal\Component\Utility\EmailValidatorInterface $email_validator * The email validator. */ - public function __construct(EmailValidator $email_validator) { + public function __construct(EmailValidatorInterface $email_validator) { $this->emailValidator = $email_validator; }