'glpi_plugin_soc_cases', 'field' => 'name', 'name' => __('SOC Case', 'soc'), 'joinparams' => [ 'beforejoin' => [ 'table' => $itemtype == 'Ticket' ? 'glpi_plugin_soc_case_tickets' : 'glpi_plugin_soc_case_changes', 'joinparams' => [ 'jointype' => 'itemtype_item', 'specific_itemtype' => $itemtype ] ] ] ]; } return $options; }