14 lines
440 B
PHP
14 lines
440 B
PHP
<?php
|
|
defined('TYPO3') or die();
|
|
|
|
// Force imageorient to only have items 25 and 26
|
|
$GLOBALS['TCA']['tt_content']['columns']['imageorient']['config'] = [
|
|
'type' => 'select',
|
|
'renderType' => 'selectSingle',
|
|
'items' => [
|
|
['LLL:EXT:base/Resources/Private/Language/locallang_db.xlf:imageorient.25', 25],
|
|
['LLL:EXT:base/Resources/Private/Language/locallang_db.xlf:imageorient.26', 26],
|
|
],
|
|
'default' => 25,
|
|
];
|