typo3/sysext/backend/Classes/Form/FormDataProvider/TcaColumnsProcessRecordTitle.php 1 location
|
@@ 37-39 (lines=3) @@
|
| 34 |
|
public function addData(array $result) |
| 35 |
|
{ |
| 36 |
|
// If a field name is given for the label we need to process the field |
| 37 |
|
if (!empty($result['processedTca']['ctrl']['label'])) { |
| 38 |
|
$result['columnsToProcess'][] = $result['processedTca']['ctrl']['label']; |
| 39 |
|
} |
| 40 |
|
|
| 41 |
|
// Add alternative fields that might be used to render the label |
| 42 |
|
if (!empty($result['processedTca']['ctrl']['label_alt'])) { |
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInlineConfiguration.php 1 location
|
@@ 149-153 (lines=5) @@
|
| 146 |
|
{ |
| 147 |
|
$childTableName = $result['processedTca']['columns'][$fieldName]['config']['foreign_table']; |
| 148 |
|
|
| 149 |
|
if (empty($result['processedTca']['ctrl']['languageField']) |
| 150 |
|
|| empty($GLOBALS['TCA'][$childTableName]['ctrl']['languageField']) |
| 151 |
|
) { |
| 152 |
|
return $result; |
| 153 |
|
} |
| 154 |
|
|
| 155 |
|
$parentConfig = $result['processedTca']['columns'][$fieldName]['config']; |
| 156 |
|
|
typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractItemProvider.php 1 location
|
@@ 612-616 (lines=5) @@
|
| 609 |
|
protected function removeItemsByUserLanguageFieldRestriction(array $result, $fieldName, array $items) |
| 610 |
|
{ |
| 611 |
|
// Guard clause returns if not a language field is handled |
| 612 |
|
if (empty($result['processedTca']['ctrl']['languageField']) |
| 613 |
|
|| $result['processedTca']['ctrl']['languageField'] !== $fieldName |
| 614 |
|
) { |
| 615 |
|
return $items; |
| 616 |
|
} |
| 617 |
|
|
| 618 |
|
$backendUser = $this->getBackendUser(); |
| 619 |
|
foreach ($items as $key => $itemValues) { |