Simplify the code for adding a relationship form element to plugin forms

Created on 2 September 2012, over 12 years ago
Updated 5 August 2023, almost 2 years ago

Currently there exists quite some code for different plugin types
like row or handlers to show a select element to choose a relationship.

Beside from that some custom code might require a second relationship,
which is basically c&p a lot of existing code.

Some examples (there maybe exists more):views_ui_config_item_form, RowPluginBase::buildOptionsForm

I guess it would make sense to introduce a method on the PluginBase which just returns an relationship form element.

πŸ“Œ Task
Status

Postponed: needs info

Version

9.5

Component
ViewsΒ  β†’

Last updated 1 day ago

Created by

πŸ‡©πŸ‡ͺGermany dawehner

Live updates comments and jobs are added and updated live.
  • VDC

    Related to the Views in Drupal Core initiative.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Since there has been no follow up in 11 years wonder if this is still a valid task for D10 and up?

  • Status changed to Closed: outdated 13 days ago
  • πŸ‡³πŸ‡ΏNew Zealand quietone

    It has been over a year since it was asked if this is still relevant. Since there hasn't been supplied I am closing this issue.

    If there is work to do here, then either re-open the issue and add a comment or open a new issue and reference this one.

Production build 0.71.5 2024