Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add doc for new hook pre/post_itil_info_section #155

Merged
merged 3 commits into from
Sep 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion source/plugins/hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ These hooks will work just as the :ref:`hooks with item as parameter <hook_item_
//)
}

The hooks that are called with an array of parameters are: ``post_item_form``, ``pre_item_form``, ``pre_show_item``, ``post_show_item``, ``pre_show_tab``, ``post_show_tab``, ``item_transfer``.
The hooks that are called with an array of parameters are: ``post_item_form``, ``pre_item_form``, ``pre_show_item``, ``post_show_item``, ``pre_show_tab``, ``post_show_tab``, ``pre_itil_info_section``, ``post_itil_info_section``, ``item_transfer``.

Some hooks will receive a specific array as parameter, they will be detailled below.

Expand Down Expand Up @@ -435,6 +435,17 @@ Items display related

Hooks that permits to add display on items.

``pre_itil_info_section``
.. versionadded:: 11

Before displaying ITIL object sections (Ticket, Change, Problem) Waits for a ``<section>``.


``post_itil_info_section``
.. versionadded:: 11

After displaying ITIL object sections (ticket, Change, Problem) Waits for a ``<section>``.


``pre_item_form``
.. versionadded:: 9.1.2
Expand Down