MailManager::$instances

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Mail/MailManager.php \Drupal\Core\Mail\MailManager::instances
  2. 10 core/lib/Drupal/Core/Mail/MailManager.php \Drupal\Core\Mail\MailManager::instances
  3. 11.x core/lib/Drupal/Core/Mail/MailManager.php \Drupal\Core\Mail\MailManager::instances

List of already instantiated mail plugins.

Type: array

File

core/lib/Drupal/Core/Mail/MailManager.php, line 60

Class

MailManager
Provides a Mail plugin manager.

Namespace

Drupal\Core\Mail

Code

protected $instances = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.