Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`formatTemplate()` is a method that can be overwritten by plugins. It is also a method that can be called by the user to manually build customized form elements (e.g. adding extra elements to a `submitContainer`). Right now FormHelper inconsistently uses `formatTemplate()` or `$this->templater()->format()`. It should in all cases use `formatTemplate()` however, as to provide the same experience to the user in both cases (internal or external use). Furthermore, overwriting `formatTemplate()` is a powerful tool for plugins, only if it is also consistently called internally.
- Loading branch information
Showing
1 changed file
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters