add new display_[login|central] hooks

This commit is contained in:
Alexandre Delaunay
2015-11-20 15:49:07 +01:00
parent fc3b656a96
commit d0e0fdcebf
2 changed files with 12 additions and 0 deletions

View File

@ -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";
}