We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ee7d5a commit b5fb88aCopy full SHA for b5fb88a
source/plugins/hooks.rst
@@ -117,7 +117,7 @@ These hooks will work just as the :ref:`hooks with item as parameter <hook_item_
117
// (
118
// [_target] => /front/computer.form.php
119
// [id] => 1
120
- // [withtemplate] =>
+ // [withtemplate] =>
121
// [tabnum] => 1
122
// [itemtype] => Computer
123
// )
@@ -179,6 +179,12 @@ Hooks that cannot be classified in above categories :)
179
'output' => array() //output modified by rule
180
];
181
182
+``redefine_menus``
183
+ Add, edit or remove items from the GLPI menus.
184
+
185
+ This hook will receive the current GLPI menus definition as an argument and must return the new definition.
186
187
188
``init_session``
189
At session initialization
190
0 commit comments