aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Clemens Neubauer <cn-tools@gmx.at> 2021-01-07 21:45:48 +0100
committerGravatar GitHub <noreply@github.com> 2021-01-07 21:45:48 +0100
commitef458992c12438f88780c52076cf105e3de8a60e (patch)
treeaa4679fc50d789b3479a0b15c1d968a64c1ca97c /lib
parentbfd872e885c72ac7ca9a6bcf9b6928c1d3e501cb (diff)
two new hooks (#3342)
* add two new hooks I develop a new extension and i need 2 new hooks for it * update EN documentation * Correct typing errors * Update app/views/helpers/javascript_vars.phtml Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'lib')
-rw-r--r--lib/Minz/ExtensionManager.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Minz/ExtensionManager.php b/lib/Minz/ExtensionManager.php
index b2814e4a3..e802aad16 100644
--- a/lib/Minz/ExtensionManager.php
+++ b/lib/Minz/ExtensionManager.php
@@ -39,6 +39,10 @@ class Minz_ExtensionManager {
'list' => array(),
'signature' => 'NoneToNone',
),
+ 'js_vars' => array( // function($vars = array) -> array | null
+ 'list' => array(),
+ 'signature' => 'OneToOne',
+ ),
'menu_admin_entry' => array( // function() -> string
'list' => array(),
'signature' => 'NoneToString',
@@ -51,6 +55,10 @@ class Minz_ExtensionManager {
'list' => array(),
'signature' => 'NoneToString',
),
+ 'nav_menu' => array( // function() -> string
+ 'list' => array(),
+ 'signature' => 'NoneToString',
+ ),
'nav_reading_modes' => array( // function($readingModes = array) -> array | null
'list' => array(),
'signature' => 'OneToOne',