Skip to content

Commit

Permalink
Add helpdesk_menu_entry hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
cconard96 authored and trasher committed Jan 24, 2022
1 parent c247976 commit 58566bc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions source/plugins/hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,22 @@ Hooks that cannot be classified in above categories :)
'params' => array, // actor field param
];
``helpdesk_menu_entry``
Add a link to the menu for users with the simplified interface

.. code-block:: php
<?php
$PLUGIN_HOOKS['helpdesk_menu_entry']['example'] = 'MY_CUSTOM_LINK';
``helpdesk_menu_entry_icon``
Add an icon for the link specified by the `helpdesk_menu_entry` hook

.. code-block:: php
<?php
$PLUGIN_HOOKS['helpdesk_menu_entry_icon']['example'] = 'fas fa-tools';
Items business related
++++++++++++++++++++++

Expand Down

0 comments on commit 58566bc

Please sign in to comment.