Rename `ComponentInputsForm` to `ComponentInstanceForm`, to match the route name

Created on 13 August 2025, 1 day ago

Overview

Quoting XB's routing definitions:

# Forms: component instance and content entity.
# @see \Drupal\experience_builder\Theme\XBThemeNegotiator::applies()
experience_builder.api.form.component_inputs:
  path: '/xb/api/v0/form/component-instance/{entity_type}/{entity}'
  defaults:
    _form: 'Drupal\experience_builder\Form\ComponentInputsForm'
  …

This is inconsistent. And all docs refer to "component instance"s. So let's make all that consistent :)

Proposed resolution

Let's make it consistent:

# Forms: component instance and content entity.
# @see \Drupal\experience_builder\Theme\XBThemeNegotiator::applies()
experience_builder.api.form.component_instance:
  path: '/xb/api/v0/form/component-instance/{entity_type}/{entity}'
  defaults:
    _form: 'Drupal\experience_builder\Form\ComponentInstanceForm'
  …

User interface changes

📌 Task
Status

Active

Version

1.0

Component

Internal HTTP API

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

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

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024