trueprogramming/tca-select-items
最新稳定版本:1.0.0
Composer 安装命令:
composer require trueprogramming/tca-select-items
包简介
Adds api for adding TCA items array
README 文档
README
Author: Michael Semle
E-Mail: git@mikeproduction.de
repo: https://github.com/true-programming/tca-select-items
This extension provides helper functionality for TCA select items. For beginners, adding TCA items via array parameter is kinda frustrating. Using this extension and it's select item model class no need to remember the correct array usage.
Usage
For example for tt_content CType:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
(new \Trueprogramming\TcaSelectItems\TCA\TCASelectItem(
'My awesom select item',
'awesom_select_item',
'EXT:awesom_extension/Resources/Public/Icons/Extension.svg',
'group-awesome'
))->toArray()
);
How to install this extension?
You can set this up via composer (composer require trueprogramming/tca-select-items).
Requirements
- TYPO3 v12.
License
The extension is licensed under GPL v2+, same as the TYPO3 Core.
For details see the LICENSE file in this repository.
统计信息
- 总下载量: 395
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2023-09-18