mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
add new display_[login|central] hooks
This commit is contained in:
@ -169,6 +169,9 @@ function plugin_init_example() {
|
||||
|
||||
// CSRF compliance : All actions must be done via POST and forms closed by Html::closeForm();
|
||||
$PLUGIN_HOOKS['csrf_compliant']['example'] = true;
|
||||
|
||||
$PLUGIN_HOOKS['display_central']['example'] = "plugin_example_display_central";
|
||||
$PLUGIN_HOOKS['display_login']['example'] = "plugin_example_display_login";
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user