Browse code

Change callback method name

Benjamin Roth authored on18/07/2024 10:36:29
Showing1 changed files
... ...
@@ -33,7 +33,7 @@ class WeinanlieferungUnitsContainerListener
33 33
     /**
34 34
      * @Callback(table="tl_vr_wa_units", target="list.label.label")
35 35
      */
36
-    public function onNcNotificationOptionsCallback(array $row, string $label, DataContainer $dc, array $labels): array
36
+    public function onListLabelCallback(array $row, string $label, DataContainer $dc, array $labels): array
37 37
     {
38 38
         $fieldName = 'title';
39 39
         $fields = $GLOBALS['TL_DCA'][$dc->table]['list']['label']['fields'];