Skip to content

Commit

Permalink
Merge pull request cakephp#6460 from jtraulle/patch-5
Browse files Browse the repository at this point in the history
Remove obsolete helper section.
  • Loading branch information
ADmad authored Feb 11, 2020
2 parents 4c8e0dd + c3fe76a commit 87fd2f1
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions en/views/helpers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,6 @@ attribute values or modify the behavior of a helper::
}
}

Options can be specified when declaring helpers in controller as shown::

namespace App\Controller;

use App\Controller\AppController;

class AwesomeController extends AppController
{
public $helpers = ['Awesome' => ['option1' => 'value1']];
}

By default all configuration options will be merged with the ``$_defaultConfig``
property. This property should define the default values of any configuration
your helper requires. For example::
Expand Down

0 comments on commit 87fd2f1

Please sign in to comment.