| @@ -27,8 +27,10 @@ | ||
| 27 | 27 | * |
| 28 | 28 | * @return array<int, array{id: string, label: string, icon: string, tone: string}> |
| 29 | 29 | */ |
| 30 | 30 | function openstation_get_toast_types() { |
| 31 | + // The shell paints a toast from `tone` alone; `label` and `icon` ride | |
| 32 | + // along for plugins that list or render the types themselves. | |
| 31 | 33 | $defaults = array( |
| 32 | 34 | array( |
| 33 | 35 | 'id' => 'success', |
| 34 | 36 | 'label' => __( 'Success', 'desktop-mode' ), |