a3bf398868d77ff56dc1ae180864f8a383cac4ba
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Classes / Configuration / CustomPresetInterface.php
1 <?php
2 namespace TYPO3\CMS\Install\Configuration;
3
4 /***************************************************************
5 * Copyright notice
6 *
7 * (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
8 * All rights reserved
9 *
10 * This script is part of the TYPO3 project. The TYPO3 project is
11 * free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
15 *
16 * The GNU General Public License can be found at
17 * http://www.gnu.org/copyleft/gpl.html.
18 *
19 * This script is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
24 * This copyright notice MUST APPEAR in all copies of the script!
25 ***************************************************************/
26
27 use TYPO3\CMS\Core\Utility\GeneralUtility;
28
29 /**
30 * Custom preset interface
31 *
32 * Interface for presets not caught by other presets.
33 * Represents "custom" configuration options of a feature.
34 *
35 * There must be only one custom preset per feature!
36 */
37 interface CustomPresetInterface extends PresetInterface {
38
39 /**
40 * Mark preset as active.
41 * The custom features do not know by itself if they are
42 * active or not since the configuration options may overlay
43 * with other presets.
44 * Marking the custom preset as active is therefor taken care
45 * off by the feature itself if no other preset is active.
46 *
47 * @return void
48 */
49 public function setActive();
50 }