-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Use core abstract class for list_type to CType migration
Closes #91
- Loading branch information
Showing
3 changed files
with
29 additions
and
216 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Derhansen\FeChangePwd\Updates; | ||
|
||
use TYPO3\CMS\Install\Attribute\UpgradeWizard; | ||
use TYPO3\CMS\Install\Updates\AbstractListTypeToCTypeUpdate; | ||
|
||
#[UpgradeWizard('feChangePwdPluginToContentElementUpdate')] | ||
class PluginToContentElementUpdater extends AbstractListTypeToCTypeUpdate | ||
{ | ||
protected function getListTypeToCTypeMapping(): array | ||
{ | ||
return [ | ||
'fechangepwd_pi1' => 'fechangepwd_pi1', | ||
]; | ||
} | ||
|
||
public function getTitle(): string | ||
{ | ||
return 'ext:fe_change_pwd: Migrate plugins to content elements'; | ||
} | ||
|
||
public function getDescription(): string | ||
{ | ||
return 'Migrates existing plugin records and backend user permissions used by ext:fe_change_pwd.'; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.