Increase priority for onPageInitialized in the comments plugin over the form plugin one
This commit is contained in:
parent
f25fbd7e20
commit
a6476ab527
|
@ -26,7 +26,7 @@ class CommentsPlugin extends Plugin
|
||||||
return [
|
return [
|
||||||
'onPluginsInitialized' => ['onPluginsInitialized', 0],
|
'onPluginsInitialized' => ['onPluginsInitialized', 0],
|
||||||
'onFormProcessed' => ['onFormProcessed', 0],
|
'onFormProcessed' => ['onFormProcessed', 0],
|
||||||
'onPageInitialized' => ['onPageInitialized', 0],
|
'onPageInitialized' => ['onPageInitialized', 10],
|
||||||
'onTwigSiteVariables' => ['onTwigSiteVariables', 0]
|
'onTwigSiteVariables' => ['onTwigSiteVariables', 0]
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue