Skip to content

Commit

Permalink
Update flash plugin element docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrowe committed Jun 5, 2014
1 parent ff7ef81 commit 36df73c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/View/Helper/FlashHelper.php
Expand Up @@ -67,13 +67,12 @@ class FlashHelper extends Helper {
* echo $this->Flash->out('flash', [element' => 'my_custom_element']);
* }}}
*
* If you want to use an element from a plugin for rendering your flash message you can do that using the
* plugin param:
* If you want to use an element from a plugin for rendering your flash message
* you can use the dot notation for the plugin's element name:
*
* {{{
* echo $this->Session->flash('flash', [
* 'element' => 'my_custom_element',
* 'params' => ['plugin' => 'my_plugin'])
* echo $this->Flash->out('flash', [
* 'element' => 'MyPlugin.my_custom_element',
* ]);
* }}}
*
Expand Down

0 comments on commit 36df73c

Please sign in to comment.