Browse Source

Merge pull request #12479 from cakephp/ADmad-patch-1

Document "escape" option.
ADmad 7 years ago
parent
commit
6e96b4e839
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/View/Helper/FormHelper.php

+ 2 - 0
src/View/Helper/FormHelper.php

@@ -848,6 +848,8 @@ class FormHelper extends Helper
      * - `for` - Set the for attribute, if its not defined the for attribute
      *   will be generated from the $fieldName parameter using
      *   FormHelper::_domId().
+     * - `escape` - Set to `false` to turn off escaping of label text.
+     *   Defaults to `true`.
      *
      * Examples:
      *