You are here

protected property MailManagerTest::$definitions in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php \Drupal\Tests\Core\Mail\MailManagerTest::definitions

A list of mail plugin definitions.

Type: array

File

core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php, line 70
Contains \Drupal\Tests\Core\Mail\MailManagerTest.

Class

MailManagerTest
@coversDefaultClass \Drupal\Core\Mail\MailManager @group Mail

Namespace

Drupal\Tests\Core\Mail

Code

protected $definitions = [
  'php_mail' => [
    'id' => 'php_mail',
    'class' => 'Drupal\\Core\\Mail\\Plugin\\Mail\\PhpMail',
  ],
  'test_mail_collector' => [
    'id' => 'test_mail_collector',
    'class' => 'Drupal\\Core\\Mail\\Plugin\\Mail\\TestMailCollector',
  ],
];