summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Geelen <christopher.geelen@vinotion.nl>2016-08-15 13:12:38 +0200
committerChristopher Geelen <christopher.geelen@vinotion.nl>2016-08-15 13:12:38 +0200
commita72ef8cedcdda66fc7fc477b2805acbd58142e07 (patch)
tree66b10bdd315b941fd6d9cf62f127abacd46fe6eb
parentd8b60ca0fa8d2e1fb3fa711dd24be16e01097654 (diff)
fixed description in doc for this->hook->on to comply with new HookHelper args
-rw-r--r--doc/plugin-hooks.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/plugin-hooks.markdown b/doc/plugin-hooks.markdown
index 97816d5f..444b76db 100644
--- a/doc/plugin-hooks.markdown
+++ b/doc/plugin-hooks.markdown
@@ -105,7 +105,7 @@ class Plugin extends Base
{
public function initialize()
{
- $this->hook->on('template:layout:css', 'plugins/Css/skin.css');
+ $this->hook->on('template:layout:css', array('template' => 'plugins/Css/skin.css'));
}
}
```