2 namespace TYPO3\CMS\Core\DataHandling;
39 public function getProcessingItems($table, $pageId, $field, $row, $tcaConfig, $selectedItems)
41 $pageId = $table ===
'pages' ? $row[
'uid'] : $row[
'pid'];
43 $fieldTSconfig = $TSconfig[
'TCEFORM.'][$table .
'.'][$field .
'.'];
46 $params[
'items'] = &$selectedItems;
47 $params[
'config'] = $tcaConfig;
48 $params[
'TSconfig'] = $fieldTSconfig[
'itemsProcFunc.'];
49 $params[
'table'] = $table;
50 $params[
'row'] = $row;
51 $params[
'field'] = $field;
60 if (isset(
$GLOBALS[
'TCA'][$table][
'columns'][$field][
'label'])) {
61 $fieldLabel = $languageService->sL(
$GLOBALS[
'TCA'][$table][
'columns'][$field][
'label']);
64 $languageService->sL(
'LLL:EXT:lang/locallang_core.xlf:error.items_proc_func_error'),
66 $exception->getMessage()
78 $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
79 $defaultFlashMessageQueue->enqueue($flashMessage);
82 return $selectedItems;