Issue #2558243 by Berdir, tim.plunkett, hass, wundo: Use a FormElement plugin instead of the deprecated hook_element_info()