From 5915e5de53b79a9735933c071a7009d30f7ea8e7 Mon Sep 17 00:00:00 2001 From: Alex Rock Ancelet Date: Mon, 14 Oct 2024 11:39:39 +0200 Subject: [PATCH] Add Appliance object for generic controller --- src/Appliance.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Appliance.php b/src/Appliance.php index 2e3db8a959f..53346e1eead 100644 --- a/src/Appliance.php +++ b/src/Appliance.php @@ -67,6 +67,11 @@ public function getCloneRelations(): array ]; } + public static function getSectorizedDetails(): array + { + return ["management", "appliance"]; + } + public static function getTypeName($nb = 0) { return _n('Appliance', 'Appliances', $nb);