‪TYPO3CMS  ‪main
ImageFeature.php
Go to the documentation of this file.
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 
17 
20 
26 {
30  protected ‪$name = 'Image';
31 
35  protected ‪$presetRegistry = [
36  GraphicsMagickPreset::class,
37  ImageMagick6Preset::class,
38  CustomPreset::class,
39  ];
40 
47  public function ‪getAdditionalSearchPath()
48  {
49  $additionalPath = '';
50  if (isset($this->postValues['additionalSearchPath']) && $this->postValues['additionalSearchPath'] !== '') {
51  $additionalPath = $this->postValues['additionalSearchPath'];
52  }
53  return $additionalPath;
54  }
55 }
‪TYPO3\CMS\Install\Configuration\FeatureInterface
Definition: FeatureInterface.php:22
‪TYPO3\CMS\Install\Configuration\Image\ImageFeature\$name
‪string $name
Definition: ImageFeature.php:29
‪TYPO3\CMS\Install\Configuration\Image\ImageFeature
Definition: ImageFeature.php:26
‪TYPO3\CMS\Install\Configuration\Image\ImageFeature\$presetRegistry
‪array $presetRegistry
Definition: ImageFeature.php:33
‪TYPO3\CMS\Install\Configuration\AbstractFeature
Definition: AbstractFeature.php:25
‪TYPO3\CMS\Install\Configuration\Image
Definition: AbstractImagePreset.php:16
‪TYPO3\CMS\Install\Configuration\Image\ImageFeature\getAdditionalSearchPath
‪string getAdditionalSearchPath()
Definition: ImageFeature.php:45