ElementInfoManagerInterface::getInfo() should document which properties apply only to forms

Created on 6 January 2024, 10 months ago

Problem/Motivation

The docs for ElementInfoManagerInterface::getInfo() list various standard properties for render element definitions.

This should state that some of them only apply when the element it used in a form, and has no effect when used in a render array.

It's (probably) all the ones that have a $form_state parameter in the callback.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component
DocumentationΒ  β†’

Last updated about 14 hours ago

No maintainer
Created by

πŸ‡¬πŸ‡§United Kingdom joachim

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