first commit
This commit is contained in:
commit
1218dd1517
12716 files changed
+989233
No files matched your search
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
/**
|
||||
* Commands to be executed by typo3, where the key of the array
|
||||
* is the name of the command (to be called as the first argument after typo3).
|
||||
* Required parameter is the "class" of the command which needs to be a subclass
|
||||
* of Symfony/Console/Command.
|
||||
* @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0. Use symfony/console commands instead.
|
||||
*/
|
||||
return [
|
||||
'_core_command' => [
|
||||
'class' => \TYPO3\CMS\Extbase\Command\CoreCommand::class,
|
||||
'schedulable' => false,
|
||||
],
|
||||
// Overriding Symfony Help command to use Extbase-specific output
|
||||
'_extbase_help' => [
|
||||
'class' => \TYPO3\CMS\Extbase\Command\HelpCommand::class,
|
||||
'schedulable' => false,
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
defined('TYPO3_MODE') or die();
|
||||
|
||||
if (!isset($GLOBALS['TCA']['fe_groups']['ctrl']['type'])) {
|
||||
$tca = [
|
||||
'ctrl' => [
|
||||
'type' => 'tx_extbase_type',
|
||||
],
|
||||
'columns' => [
|
||||
'tx_extbase_type' => [
|
||||
'exclude' => true,
|
||||
'label' => 'LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:fe_groups.tx_extbase_type',
|
||||
'config' => [
|
||||
'type' => 'select',
|
||||
'renderType' => 'selectSingle',
|
||||
'items' => [
|
||||
['LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:fe_groups.tx_extbase_type.0', '0'],
|
||||
['LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:fe_groups.tx_extbase_type.Tx_Extbase_Domain_Model_FrontendUserGroup', 'Tx_Extbase_Domain_Model_FrontendUserGroup']
|
||||
],
|
||||
'size' => 1,
|
||||
'maxitems' => 1,
|
||||
'default' => 0
|
||||
]
|
||||
]
|
||||
],
|
||||
'types' => [
|
||||
'Tx_Extbase_Domain_Model_FrontendUserGroup' => $GLOBALS['TCA']['fe_groups']['types']['0'],
|
||||
],
|
||||
];
|
||||
$GLOBALS['TCA']['fe_groups'] = array_replace_recursive($GLOBALS['TCA']['fe_groups'], $tca);
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('fe_groups', 'tx_extbase_type');
|
||||
} else {
|
||||
$GLOBALS['TCA']['fe_groups']['types']['Tx_Extbase_Domain_Model_FrontendUserGroup'] = $GLOBALS['TCA']['fe_groups']['types']['0'];
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
defined('TYPO3_MODE') or die();
|
||||
|
||||
if (!isset($GLOBALS['TCA']['fe_users']['ctrl']['type'])) {
|
||||
$tca = [
|
||||
'ctrl' => [
|
||||
'type' => 'tx_extbase_type',
|
||||
],
|
||||
'columns' => [
|
||||
'tx_extbase_type' => [
|
||||
'exclude' => true,
|
||||
'label' => 'LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:fe_users.tx_extbase_type',
|
||||
'config' => [
|
||||
'type' => 'select',
|
||||
'renderType' => 'selectSingle',
|
||||
'items' => [
|
||||
['LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:fe_users.tx_extbase_type.0', '0'],
|
||||
['LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:fe_users.tx_extbase_type.Tx_Extbase_Domain_Model_FrontendUser', 'Tx_Extbase_Domain_Model_FrontendUser']
|
||||
],
|
||||
'size' => 1,
|
||||
'maxitems' => 1,
|
||||
'default' => 0
|
||||
]
|
||||
]
|
||||
],
|
||||
'types' => [
|
||||
'Tx_Extbase_Domain_Model_FrontendUser' => $GLOBALS['TCA']['fe_users']['types']['0'],
|
||||
],
|
||||
];
|
||||
$GLOBALS['TCA']['fe_users'] = array_replace_recursive($GLOBALS['TCA']['fe_users'], $tca);
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('fe_users', 'tx_extbase_type');
|
||||
} else {
|
||||
$GLOBALS['TCA']['fe_users']['types']['Tx_Extbase_Domain_Model_FrontendUser'] = $GLOBALS['TCA']['fe_users']['types']['0'];
|
||||
}
|
||||
Reference in new issue
Block a user