Increase priority for onPageInitialized in the comments plugin over the form plugin one

This commit is contained in:
Flavio Copes 2015-12-20 10:14:51 +01:00
parent f25fbd7e20
commit a6476ab527
1 changed files with 1 additions and 1 deletions

View File

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