Skip to content

Commit

Permalink
Deprecating loadFieldType & loadRuleType (#23478)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackwar authored and rdeutz committed Jan 19, 2019
1 parent 6933bb1 commit 8836e7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/src/Form/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -1941,6 +1941,7 @@ protected function loadField($element, $group = null, $value = null)
* @return FormField|boolean FormField object on success, false otherwise.
*
* @since 1.7.0
* @deprecated 4.0 Use FormHelper::loadFieldType() directly
*/
protected function loadFieldType($type, $new = true)
{
Expand All @@ -1957,6 +1958,7 @@ protected function loadFieldType($type, $new = true)
*
* @see FormHelper::loadRuleType()
* @since 1.7.0
* @deprecated 4.0 Use FormHelper::loadRuleType() directly
*/
protected function loadRuleType($type, $new = true)
{
Expand Down

0 comments on commit 8836e7b

Please sign in to comment.