[!!!][TASK] Streamline directory structure of ext:indexed_search
[Packages/TYPO3.CMS.git] / typo3 / sysext / indexed_search / Resources / PHP / class.tx_indexed_search_pi_wizicon.php
1 <?php
2 /*
3 * This file is part of the TYPO3 CMS project.
4 *
5 * It is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License, either version 2
7 * of the License, or any later version.
8 *
9 * For the full copyright and license information, please read the
10 * LICENSE.txt file that was distributed with this source code.
11 *
12 * The TYPO3 project - inspiring people to share!
13 */
14
15 /**
16 * Icon for plugin wizard
17 */
18 class tx_indexed_search_pi_wizicon {
19
20 /**
21 * Adds the indexed_search pi1 wizard icon
22 *
23 * @param array $wizardItems Input array with wizard items for plugins
24 * @return array Modified input array, having the item for indexed_search pi1 added.
25 */
26 public function proc($wizardItems) {
27 $wizardItems['plugins_tx_indexed_search'] = array(
28 'icon' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('indexed_search') . 'Resources/Public/Images/ce_wiz.png',
29 'title' => $GLOBALS['LANG']->sL('LLL:EXT:indexed_search/Resources/Private/Language/locallang_pi.xlf:pi_wizard_title'),
30 'description' => $GLOBALS['LANG']->sL('LLL:EXT:indexed_search/Resources/Private/Language/locallang_pi.xlf:pi_wizard_description'),
31 'params' => '&defVals[tt_content][CType]=list&defVals[tt_content][list_type]=indexed_search'
32 );
33 return $wizardItems;
34 }
35
36 }