Revert "[TASK] No reference index for workspace delete placeholders"
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Classes / Configuration / Mail / MailFeature.php
1 <?php
2
3 /*
4 * This file is part of the TYPO3 CMS project.
5 *
6 * It is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU General Public License, either version 2
8 * of the License, or any later version.
9 *
10 * For the full copyright and license information, please read the
11 * LICENSE.txt file that was distributed with this source code.
12 *
13 * The TYPO3 project - inspiring people to share!
14 */
15
16 namespace TYPO3\CMS\Install\Configuration\Mail;
17
18 use TYPO3\CMS\Install\Configuration\AbstractFeature;
19 use TYPO3\CMS\Install\Configuration\FeatureInterface;
20
21 /**
22 * Mail feature detects sendmail settings
23 * @internal only to be used within EXT:install
24 */
25 class MailFeature extends AbstractFeature implements FeatureInterface
26 {
27 /**
28 * @var string Name of feature
29 */
30 protected $name = 'Mail';
31
32 /**
33 * @var array List of preset classes
34 */
35 protected $presetRegistry = [
36 SendmailPreset::class,
37 SmtpPreset::class,
38 CustomPreset::class,
39 ];
40 }