Closed (outdated)
Project:
Documentation
Component:
API documentation files
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 May 2015 at 11:21 UTC
Updated:
18 May 2017 at 15:56 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
googletorp commentedThis is my first time writing a documentation patch, so not sure what's to be expected. I did some copy paste and it looks fine when reviewing the html file. I'm not sure if we need to add more documenation about #wrapper_attributes?
Comment #2
googletorp commentedComment #3
krina.addweb commentedComment #4
jhodgdonThis was a Drupal 8.x issue, and we do not have the HTML document for form elements in 8.x any more.
Comment #5
xumepadismal commented@jhodgdon what about FormElement topic? To me it looks as a right place to document this but I'm not sure.
Moreover, there are several undocumented properties for theme_form_element(): #label_attributes, #description_display and #wrapper_attributes.
Maybe we should document all of them in one patch/commit or?
Comment #6
jhodgdonYes. Please file a new Drupal Core issue in component "documentation" to add the new documentation for missing properties to either FormElement or RenderElement as appropriate. This issue is about the Form API reference, which doesn't exist any more in Drupal 8.
(See also https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21... which lists the docs for properties common to both form and render elements.)