mirror of
https://github.com/moodle/moodle.git
synced 2025-03-07 01:10:02 +01:00
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.