summaryrefslogtreecommitdiff
path: root/doc/plugin-registration.markdown
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-03 19:25:53 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-03 19:25:53 -0500
commit4c524700af72a01c4ffe9949a9005b41dc7e7e4d (patch)
tree1646877a23b9424258df88f867ef443f42c2119f /doc/plugin-registration.markdown
parent913ec9e39ff6326d0d3e4bea92dc6d06b3d2d1bd (diff)
Add doc for plugin events
Diffstat (limited to 'doc/plugin-registration.markdown')
-rw-r--r--doc/plugin-registration.markdown14
1 files changed, 0 insertions, 14 deletions
diff --git a/doc/plugin-registration.markdown b/doc/plugin-registration.markdown
index 37e71f9a..d15f98e1 100644
--- a/doc/plugin-registration.markdown
+++ b/doc/plugin-registration.markdown
@@ -124,17 +124,3 @@ $this->container['hourlyRate']->getAll();
```
Keys of the containers are unique across the application. If you override an existing class, you will change the default behavior.
-
-Event Listening
----------------
-
-Kanboard use internal events and your plugin can listen and perform actions on these events.
-
-```php
-$this->on('app.bootstrap', function($container) {
- // Do something
-});
-```
-
-- The first argument is the event name
-- The second argument is a PHP callable function (closure or class method)