mirror of
https://github.com/moodle/moodle.git
synced 2025-05-03 14:58:42 +02: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.