You are here

public function PhpMail::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php \Drupal\Core\Mail\Plugin\Mail\PhpMail::__construct()

PhpMail constructor.

File

core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php, line 31

Class

PhpMail
Defines the default Drupal mail backend, using PHP's native mail() function.

Namespace

Drupal\Core\Mail\Plugin\Mail

Code

public function __construct() {
  $this->configFactory = \Drupal::configFactory();
}