Review main Merged

74443[TASK] Move form element-related methods out of AbstractRenderable

Elias Häußler CR +2 V +2 Easy +26 −20 updated 04/27/22, 15:53

Commit message

With #90385, two methods (`setDefaultValue()` and `setProperty()`) were
added to AbstractRenderable. Those methods however only relate to form
elements and the corresponding FormElementInterface and are not part of
the RenderableInterface. All form elements already provide appropriate
implementations.

In order to separate methods of form elements from methods of generic
renderables, the change #90385 has been reverted. Additionally, the
implementation logic to call those methods has been separated from
AbstractRenderable and re-implemented in the appropriate form elements,
namely AbstractFormElement and Section.

This is not considered breaking, because all logic is re-implemented in
relevant and affected classes. Furthermore, it's not sufficient to
provide and implement defaultValue and properties for renderables that
do not represent a form element.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 3