Skip to content

Commit

Permalink
Merge pull request #129 from jweiland-net/feature/icons-registration-…
Browse files Browse the repository at this point in the history
…moved-to-configuration-folder

[TASK] Moved Icons registration to Configuration/Icons.php
  • Loading branch information
hojalatheef authored Apr 10, 2024
2 parents 0818427 + de472d3 commit 9f3fbab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Configuration/Icons.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/*
* This file is part of the package jweiland/reserve.
*
* For the full copyright and license information, please read the
* LICENSE file that was distributed with this source code.
*/

use TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider;

$iconsRegistered = [
Expand All @@ -9,6 +16,7 @@
],
];

// register icons for model TCA tables
$modelIcons = ['facility', 'order', 'order_1', 'period', 'reservation', 'email'];
foreach ($modelIcons as $modelIcon) {
$identifier = 'tx_reserve_domain_model_' . $modelIcon;
Expand Down

0 comments on commit 9f3fbab

Please sign in to comment.