| @@ 83-89 (lines=7) @@ | ||
| 80 | $format = 'time'; |
|
| 81 | } elseif (in_array('timesec', $evalList, true)) { |
|
| 82 | $format = 'timesec'; |
|
| 83 | } else { |
|
| 84 | throw new \RuntimeException( |
|
| 85 | 'Field "' . $fieldName . '" in table "' . $table . '" with renderType "inputDataTime" needs' |
|
| 86 | . '"eval" set to either "date", "datetime", "time" or "timesec"', |
|
| 87 | 1483823746 |
|
| 88 | ); |
|
| 89 | } |
|
| 90 | ||
| 91 | $size = MathUtility::forceIntegerInRange($config['size'] ?? $defaultInputWidth, $this->minimumInputWidth, $this->maxInputWidth); |
|
| 92 | $width = (int)$this->formMaxWidth($size); |
|
| @@ 1075-1079 (lines=5) @@ | ||
| 1072 | . ' if being used in combination with \'allowLanguageSynchronization\' and ' |
|
| 1073 | . ' thus has been removed from TCA for ' . $table . '[\'columns\']' |
|
| 1074 | . '[\'' . $fieldName . '\'][\'config\'][\'behaviour\'][\'localizationMode\']'; |
|
| 1075 | } else { |
|
| 1076 | $this->messages[] = 'The TCA setting \'localizationMode\' is deprecated ' |
|
| 1077 | . ' and should be removed from TCA for ' . $table . '[\'columns\']' |
|
| 1078 | . '[\'' . $fieldName . '\'][\'config\'][\'behaviour\'][\'localizationMode\']'; |
|
| 1079 | } |
|
| 1080 | } |
|
| 1081 | } |
|
| 1082 | return $tca; |
|
| @@ 2239-2242 (lines=4) @@ | ||
| 2236 | . ' from TCA ' . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\']' |
|
| 2237 | . ' and has been migrated to' |
|
| 2238 | . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\'][\'fieldWizard\'][\'fileThumbnails\'][\'disabled\'] = true'; |
|
| 2239 | } else { |
|
| 2240 | $this->messages[] = 'The \'type\' = \'group\' option \'show_thumbs\' is obsolete and has been dropped' |
|
| 2241 | . ' from TCA ' . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\']'; |
|
| 2242 | } |
|
| 2243 | unset($fieldConfig['config']['show_thumbs']); |
|
| 2244 | } |
|
| 2245 | if (isset($fieldConfig['config']['disable_controls']) && is_string($fieldConfig['config']['disable_controls'])) { |
|
| @@ 2306-2310 (lines=5) @@ | ||
| 2303 | . ' from TCA ' . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\']' |
|
| 2304 | . ' and has been migrated to' |
|
| 2305 | . ' [\'config\'][\'fieldWizard\'][\'selectIcons\'][\'disabled\'] = false'; |
|
| 2306 | } else { |
|
| 2307 | $this->messages[] = 'The \'type\' = \'group\' option \'showIconTable\' = false is obsolete' |
|
| 2308 | . ' from TCA ' . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\']' |
|
| 2309 | . ' and has been removed.'; |
|
| 2310 | } |
|
| 2311 | unset($fieldConfig['config']['showIconTable']); |
|
| 2312 | } |
|
| 2313 | if (isset($fieldConfig['config']['selicon_cols'])) { |
|
| @@ 2548-2553 (lines=6) @@ | ||
| 2545 | $this->messages[] = 'The TCA setting \'localizeChildrenAtParentLocalization\' is deprecated ' |
|
| 2546 | . ' and should be removed from TCA for ' . $table . '[\'columns\']' |
|
| 2547 | . '[\'' . $fieldName . '\'][\'config\'][\'behaviour\'][\'localizeChildrenAtParentLocalization\']'; |
|
| 2548 | } else { |
|
| 2549 | $this->messages[] = 'The TCA setting \'localizeChildrenAtParentLocalization\' is deprecated ' |
|
| 2550 | . ', as this functionality is always enabled. The option should be removed from TCA for ' |
|
| 2551 | . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\'][\'behaviour\']' |
|
| 2552 | . '[\'localizeChildrenAtParentLocalization\']'; |
|
| 2553 | } |
|
| 2554 | unset($fieldConfig['config']['behaviour']['localizeChildrenAtParentLocalization']); |
|
| 2555 | } |
|
| 2556 | } |
|