Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2017-03-18 03:37:52 +0300
committerGitHub <noreply@github.com>2017-03-18 03:37:52 +0300
commit794e5d45ed4a74a2970370b45b9fea85e5c08672 (patch)
treea913b4cc96cb9e45fbd4e874c3f03982df5a08e7 /CHANGELOG.md
parent60f4a409974918880c842cfd68f8af246032c122 (diff)
New event that lets plugins trigger notifications in the admin area (#11483)
* New event that lets plugins trigger notifications in the admin area They have to be triggered before assigning the notifications to the view and there is no other way to determine when a plugin is supposed to trigger notifications in the admin. Ideally, in the future we would even move the notifications above to CoreAdminHome or somewhere else eventually. First thought of using `Controller.addAdminNotifications` as we often use this wording but then we would need to rather do `Piwik::postEvent('Controller.triggerAdminNotifications', &$notifications);` as otherwise nothing can be added. Plugins could actually also use this event to cancel notifications where in the past it was needed to hide them via CSS. Happy about any other naming suggestions but want to keep it "specific" to notifications and not something to general like `postEvent('Controller.renderAdminView, $view')`. * document new event
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9b63cc78b2..cbbb110992 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,9 @@ The Product Changelog at **[piwik.org/changelog](http://piwik.org/changelog)** l
### Breaking Changes
* New config setting `enable_plugin_upload` let's you enable plugin upload. This used to work without any changes before, but is disabled by default now for security reasons.
+### New APIs
+* A new event `Controller.triggerAdminNotifications` has been added to let plugins know when they are supposed to trigger notifications in the admin.
+
## Piwik 3.0.2
### New Features