TYPO3  7.6
Variables
form/Configuration/TCA/Overrides/tt_content.php File Reference

Go to the source code of this file.

Variables

 $GLOBALS ['TCA']['tt_content']['ctrl']['typeicon_classes']['mailform'] = 'mimetypes-x-content-form'
 
 $additionalCTypeItem
 
 $existingCTypeItems = $GLOBALS['TCA']['tt_content']['columns']['CType']['config']['items']
 
 $groupFound = false
 
 $groupPosition = false
 
foreach($existingCTypeItems as
$position=> $item) if($groupFound
&&$groupPosition) 
else
 
 $GLOBALS ['TCA']['tt_content']['columns']['bodytext']['config']['wizards']['forms']
 
if(!isset($GLOBALS['TCA']['tt_content']['palettes']['visibility']))
if(!isset($GLOBALS['TCA']['tt_content']['palettes']['frames'])) 
$GLOBALS ['TCA']['tt_content']['types']['mailform']['showitem']
 
if(!is_array($GLOBALS['TCA']['tt_content']['types']['mailform']['columnsOverrides']))
if(!is_array($GLOBALS['TCA']['tt_content']['types']['mailform']['columnsOverrides']['bodytext'])) 
$baseDefaultExtrasOfBodytext = ''
 
if(!empty($GLOBALS['TCA']['tt_content']['columns']['bodytext']['defaultExtras'])) $GLOBALS ['TCA']['tt_content']['types']['mailform']['columnsOverrides']['bodytext']['defaultExtras'] = $baseDefaultExtrasOfBodytext . 'nowrap:wizards[forms]'
 

Variable Documentation

$additionalCTypeItem
Initial value:
= array(
'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.8',
'mailform',
'content-elements-mailform'
)

Definition at line 9 of file form/Configuration/TCA/Overrides/tt_content.php.

if (!is_array($GLOBALS['TCA']['tt_content']['types']['mailform']['columnsOverrides'])) if (!is_array($GLOBALS['TCA']['tt_content']['types']['mailform']['columnsOverrides']['bodytext'])) $baseDefaultExtrasOfBodytext = ''
$existingCTypeItems = $GLOBALS['TCA']['tt_content']['columns']['CType']['config']['items']
$GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes']['mailform'] = 'mimetypes-x-content-form'
$GLOBALS['TCA']['tt_content']['columns']['bodytext']['config']['wizards']['forms']
Initial value:
= array(
'notNewRecords' => 1,
'enableByTypeConfig' => 1,
'type' => 'script',
'title' => 'Form wizard',
'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_forms.gif',
'module' => array(
'name' => 'wizard_form'
),
'params' => array(
'xmlOutput' => 0
)
)

Definition at line 37 of file form/Configuration/TCA/Overrides/tt_content.php.

if (!isset($GLOBALS['TCA']['tt_content']['palettes']['visibility'])) if (!isset($GLOBALS['TCA']['tt_content']['palettes']['frames'])) $GLOBALS['TCA']['tt_content']['types']['mailform']['showitem']
Initial value:
= '
--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,rowDescription,
--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.8,
bodytext;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:bodytext.ALT.mailform,
--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access,
--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.visibility;visibility,
--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
'

Definition at line 70 of file form/Configuration/TCA/Overrides/tt_content.php.

if (!empty($GLOBALS['TCA']['tt_content']['columns']['bodytext']['defaultExtras'])) $GLOBALS['TCA']['tt_content']['types']['mailform']['columnsOverrides']['bodytext']['defaultExtras'] = $baseDefaultExtrasOfBodytext . 'nowrap:wizards[forms]'
$groupFound = false
$groupPosition = false
foreach ($existingCTypeItems as $position=> $item) if ($groupFound &&$groupPosition) else
Initial value:
{
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem('tt_content', 'CType',
array('LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.div.forms', '--div--')
)

Definition at line 29 of file form/Configuration/TCA/Overrides/tt_content.php.