mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
dbb58833ba
Moves the logic from guess_type() to a separate protected method get_field_instance_for_element(). This would be quite useful for form field classes as they can now use this method when there is a need to determine the type of a given node element.